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

Updated DEFCON and fixed Defcons disabling of the removed mlock command

This commit is contained in:
lethality
2012-01-20 17:50:09 +00:00
parent a851f849df
commit cdb6bb8ec2
2 changed files with 11 additions and 14 deletions
+2 -2
View File
@@ -145,7 +145,7 @@ class CommandOSDefcon : public Command
if (DConfig.Check(DEFCON_NO_NEW_NICKS))
source.Reply(_("* No new nick registrations"));
if (DConfig.Check(DEFCON_NO_MLOCK_CHANGE))
source.Reply(_("* No MLOCK changes"));
source.Reply(_("* No mode lock changes"));
if (DConfig.Check(DEFCON_FORCE_CHAN_MODES) && !DConfig.chanmodes.empty())
source.Reply(_("* Force Chan Modes (%s) to be set on all channels"), DConfig.chanmodes.c_str());
if (DConfig.Check(DEFCON_REDUCE_SESSION))
@@ -482,7 +482,7 @@ class OSDefcon : public Module
return EVENT_STOP;
}
}
else if (command->name == "chanserv/set/mlock")
else if (command->name == "chanserv/mode" && params[1].equals_ci("LOCK"))
{
if (DConfig.Check(DEFCON_NO_MLOCK_CHANGE))
{