mirror of
https://github.com/anope/anope.git
synced 2026-06-27 02:56:38 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -21,6 +21,7 @@ class CommandNSSendPass : public Command
|
||||
CommandNSSendPass() : Command("SENDPASS", 1, 1)
|
||||
{
|
||||
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
|
||||
this->SetDesc("Forgot your password? Try this");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -69,11 +70,6 @@ class CommandNSSendPass : public Command
|
||||
{
|
||||
SyntaxError(source, "SENDPASS", _("SENDPASS \037nickname\037"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" SENDPASS Forgot your password? Try this"));
|
||||
}
|
||||
};
|
||||
|
||||
class NSSendPass : public Module
|
||||
|
||||
Reference in New Issue
Block a user