diff options
author | lethality <lethality@anope.org> | 2012-01-20 17:50:09 +0000 |
---|---|---|
committer | lethality <lethality@anope.org> | 2012-01-20 17:50:09 +0000 |
commit | cdb6bb8ec20dfc6edee477ffca0f2166805e37e3 (patch) | |
tree | 663bd76133c413e85e19203350d8754037028a7c /modules/commands/os_defcon.cpp | |
parent | a851f849df5d12a5c559364b81fd101cc0d1d355 (diff) |
Updated DEFCON and fixed Defcons disabling of the removed mlock command
Diffstat (limited to 'modules/commands/os_defcon.cpp')
-rw-r--r-- | modules/commands/os_defcon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_defcon.cpp b/modules/commands/os_defcon.cpp index 14ccc4aec..a6454f866 100644 --- a/modules/commands/os_defcon.cpp +++ b/modules/commands/os_defcon.cpp @@ -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)) { |