diff options
author | Adam <Adam@anope.org> | 2011-02-11 03:12:39 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-11 03:12:39 -0500 |
commit | 2529ff6daef7eb387d2fce4c6df5a31029fd5bb2 (patch) | |
tree | 25c4cf0c84bef8b47c3824ba827b3816b8f17221 /modules/core/ns_set_private.cpp | |
parent | 7bdf592f7ea2d527930ada96d8e07fae966239d4 (diff) |
Made the help command description code more sane
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 |