mirror of
https://github.com/anope/anope.git
synced 2026-06-25 13:16:38 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -21,6 +21,7 @@ class CommandNSResetPass : public Command
|
||||
CommandNSResetPass() : Command("RESETPASS", 1, 1)
|
||||
{
|
||||
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
|
||||
this->SetDesc("Helps you reset lost passwords");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -58,11 +59,6 @@ class CommandNSResetPass : public Command
|
||||
{
|
||||
SyntaxError(source, "RESETPASS", _("RESETPASS \037nickname\037\002"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" RESETPASS Helps you reset lost passwords"));
|
||||
}
|
||||
};
|
||||
|
||||
class NSResetPass : public Module
|
||||
|
||||
Reference in New Issue
Block a user