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:
+3
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user