1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 06:56:39 +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
@@ -31,6 +31,7 @@ class CommandNSInfo : public Command
CommandNSInfo() : Command("INFO", 1, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
this->SetDesc("Displays information about a given nickname");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -161,11 +162,6 @@ class CommandNSInfo : public Command
{
SyntaxError(source, "INFO", _("INFO \037nick\037"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" INFO Displays information about a given nickname"));
}
};
class NSInfo : public Module