1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 13:23:13 +02:00

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
This commit is contained in:
Adam-
2010-06-18 16:51:52 +00:00
parent 4e6ede0e18
commit 3a2eb6307f
+3 -2
View File
@@ -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;