diff options
Diffstat (limited to 'modules/core/ns_set_private.cpp')
-rw-r--r-- | modules/core/ns_set_private.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/core/ns_set_private.cpp b/modules/core/ns_set_private.cpp index db879eb21..dd9175d40 100644 --- a/modules/core/ns_set_private.cpp +++ b/modules/core/ns_set_private.cpp @@ -18,6 +18,7 @@ class CommandNSSetPrivate : public Command public: CommandNSSetPrivate(const Anope::string &spermission = "") : Command("PRIVATE", 2, 2, spermission) { + this->SetDesc("Prevent the nickname from appearing in a \002%R" + NickServ->nick + " LIST\002"); } CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) @@ -62,11 +63,6 @@ class CommandNSSetPrivate : public Command { SyntaxError(source, "SET PRIVATE", _("SET PRIVATE {ON | OFF}")); } - - void OnServHelp(CommandSource &source) - { - source.Reply(_(" PRIVATE Prevent the nickname from appearing in a \002%R%s LIST\002"), ChanServ->nick.c_str()); - } }; class CommandNSSASetPrivate : public CommandNSSetPrivate @@ -93,10 +89,6 @@ class CommandNSSASetPrivate : public CommandNSSetPrivate { SyntaxError(source, "SASET PRIVATE", _("SASET \037nickname\037 PRIVATE {ON | OFF}")); } - - void OnServHelp(CommandSource &source) - { - } }; class NSSetPrivate : public Module |