1
0
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:
Adam
2011-02-11 03:12:39 -05:00
parent 7bdf592f7e
commit 2529ff6dae
148 changed files with 215 additions and 939 deletions
+1 -5
View File
@@ -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> &params)
@@ -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