diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-06-18 16:51:52 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-06-18 16:51:52 +0000 |
commit | 3a2eb6307f94eec0c84a59416e738983291cc8b9 (patch) | |
tree | 20b70dc36301fb0686ac7a308200953a39eb27a2 | |
parent | 4e6ede0e1856c78c952f29363b7b62af954db275 (diff) |
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
-rw-r--r-- | src/config.c | 5 |
1 files 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; |