1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 10:46: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
@@ -32,6 +32,7 @@ class CommandCSInfo : public Command
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
this->SetFlag(CFLAG_ALLOW_SUSPENDED);
this->SetFlag(CFLAG_ALLOW_FORBIDDEN);
this->SetDesc("Lists information about the named registered channel");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -129,11 +130,6 @@ class CommandCSInfo : public Command
{
SyntaxError(source, "INFO", _("INFO \037channel\037"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" INFO Lists information about the named registered channel"));
}
};
class CSInfo : public Module