summaryrefslogtreecommitdiff
path: root/modules/core/ns_set_email.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_set_email.cpp')
-rw-r--r--modules/core/ns_set_email.cpp11
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> &params)
@@ -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