From 3a2eb6307f94eec0c84a59416e738983291cc8b9 Mon Sep 17 00:00:00 2001 From: Adam- Date: Fri, 18 Jun 2010 16:51:52 +0000 Subject: [PATCH] Fixed bug #1171 - Fixed defcon so it works on Windows git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3010 5417fbe8-f217-4b02-8779-1006273d7864 --- src/config.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index 6216a6afc..1846edfe5 100644 --- a/src/config.c +++ b/src/config.c @@ -1701,9 +1701,10 @@ int read_config(int reload) /** * Check all DEFCON dependiencies... **/ - if (Config.DefConLevel) { + if (Config.DefConLevel) + { /* Build DefCon's */ - DefCon.reserve(6); + DefCon.resize(6); DefCon[5].reset(); for (unsigned int level = 1; level < 5; ++level) { DefCon[level] = 0;