mirror of
https://github.com/anope/anope.git
synced 2026-07-04 06:43:13 +02:00
Allow mlock to be enforced when unsetting defcon modes
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user