diff options
Diffstat (limited to 'modules/core/ns_forbid.cpp')
-rw-r--r-- | modules/core/ns_forbid.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/core/ns_forbid.cpp b/modules/core/ns_forbid.cpp index d88b9a9e9..15bd2ee7a 100644 --- a/modules/core/ns_forbid.cpp +++ b/modules/core/ns_forbid.cpp @@ -18,6 +18,7 @@ class CommandNSForbid : public Command public: CommandNSForbid() : Command("FORBID", 1, 2, "nickserv/forbid") { + this->SetDesc("Prevents a nickname from being registered"); } CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) @@ -99,11 +100,6 @@ class CommandNSForbid : public Command { SyntaxError(source, "FORBID", Config->ForceForbidReason ? _("FORBID \037nickname\037 \037reason\037") : _("FORBID \037nickname\037 [\037reason\037]")); } - - void OnServHelp(CommandSource &source) - { - source.Reply(_(" FORBID Prevents a nickname from being registered")); - } }; class NSForbid : public Module |