diff options
Diffstat (limited to 'modules/core/ns_set_kill.cpp')
-rw-r--r-- | modules/core/ns_set_kill.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/core/ns_set_kill.cpp b/modules/core/ns_set_kill.cpp index a9ca2eaa5..176d152ba 100644 --- a/modules/core/ns_set_kill.cpp +++ b/modules/core/ns_set_kill.cpp @@ -18,6 +18,7 @@ class CommandNSSetKill : public Command public: CommandNSSetKill(const Anope::string &spermission = "") : Command("KILL", 2, 3, spermission) { + this->SetDesc("Turn protection on or off"); } CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) @@ -92,11 +93,6 @@ class CommandNSSetKill : public Command { SyntaxError(source, "SET KILL", Config->NSAllowKillImmed ? _("SET KILL {ON | QUICK | IMMED | OFF}") : _("SET KILL {ON | QUICK | OFF}")); } - - void OnServHelp(CommandSource &source) - { - source.Reply(_(" KILL Turn protection on or off")); - } }; class CommandNSSASetKill : public CommandNSSetKill @@ -129,11 +125,6 @@ class CommandNSSASetKill : public CommandNSSetKill { SyntaxError(source, "SASET KILL", Config->NSAllowKillImmed ? _("SASET \037nickname\037 KILL {ON | QUICK | IMMED | OFF}") : _("SASET \037nickname\037 KILL {ON | QUICK | OFF}")); } - - void OnServHelp(CommandSource &source) - { - source.Reply(_(" KILL Turn protection on or off")); - } }; class NSSetKill : public Module |