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_email.cpp | |
parent | 7bdf592f7ea2d527930ada96d8e07fae966239d4 (diff) |
Made the help command description code more sane
Diffstat (limited to 'modules/core/ns_set_email.cpp')
-rw-r--r-- | modules/core/ns_set_email.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/core/ns_set_email.cpp b/modules/core/ns_set_email.cpp index 41aa84e31..900ff9ec3 100644 --- a/modules/core/ns_set_email.cpp +++ b/modules/core/ns_set_email.cpp @@ -18,6 +18,7 @@ class CommandNSSetEmail : public Command public: CommandNSSetEmail(const Anope::string &spermission = "") : Command("EMAIL", 1, 2, spermission) { + this->SetDesc("Associate an E-mail address with your nickname"); } CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) @@ -69,11 +70,6 @@ class CommandNSSetEmail : public Command "information on the nickname with the \002INFO\002 command.")); return true; } - - void OnServHelp(CommandSource &source) - { - source.Reply(_(" EMAIL Associate an E-mail address with your nickname")); - } }; class CommandNSSASetEmail : public CommandNSSetEmail @@ -90,11 +86,6 @@ class CommandNSSASetEmail : public CommandNSSetEmail "Associates the given E-mail address with the nickname.")); return true; } - - void OnServHelp(CommandSource &source) - { - source.Reply(_(" EMAIL Associate an E-mail address with the nickname")); - } }; class NSSetEmail : public Module |