summaryrefslogtreecommitdiff
path: root/modules/commands/os_defcon.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-11-04 01:36:27 -0500
committerAdam <Adam@anope.org>2014-11-04 01:36:27 -0500
commitc4460784c2b3695b9f3a8073fc61712e9f804573 (patch)
tree67d34c54eae195f81d75c1c76f7959a186d6fd48 /modules/commands/os_defcon.cpp
parent408ec02406f115583229216f9b7d9a2c327dfb0a (diff)
Allow mlock to be enforced when unsetting defcon modes
Diffstat (limited to 'modules/commands/os_defcon.cpp')
-rw-r--r--modules/commands/os_defcon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_defcon.cpp b/modules/commands/os_defcon.cpp
index da9621cfd..71ee59b91 100644
--- a/modules/commands/os_defcon.cpp
+++ b/modules/commands/os_defcon.cpp
@@ -577,7 +577,7 @@ static void runDefCon()
{
Log(OperServ, "operserv/defcon") << "DEFCON: setting " << newmodes << " on all channels";
for (channel_map::const_iterator it = ChannelList.begin(), it_end = ChannelList.end(); it != it_end; ++it)
- it->second->SetModes(OperServ, false, "%s", newmodes.c_str());
+ it->second->SetModes(OperServ, true, "%s", newmodes.c_str());
}
}
}