From c4460784c2b3695b9f3a8073fc61712e9f804573 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 4 Nov 2014 01:36:27 -0500 Subject: Allow mlock to be enforced when unsetting defcon modes --- modules/commands/os_defcon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/os_defcon.cpp') 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()); } } } -- cgit