mirror of
https://github.com/anope/anope.git
synced 2026-06-28 15:56:38 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -22,6 +22,7 @@ class CommandNSGetEMail : public Command
|
||||
public:
|
||||
CommandNSGetEMail() : Command("GETEMAIL", 1, 1, "nickserv/getemail")
|
||||
{
|
||||
this->SetDesc("Matches and returns all users that registered using given email");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -66,11 +67,6 @@ class CommandNSGetEMail : public Command
|
||||
{
|
||||
SyntaxError(source, "GETMAIL", _("GETEMAIL \002user@email-host\002 No WildCards!!"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" GETEMAIL Matches and returns all users that registered using given email"));
|
||||
}
|
||||
};
|
||||
|
||||
class NSGetEMail : public Module
|
||||
|
||||
Reference in New Issue
Block a user