1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 15:36: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
+2 -6
View File
@@ -16,10 +16,11 @@
class CommandCSList : public Command
{
public:
public:
CommandCSList() : Command("LIST", 1, 2)
{
this->SetFlag(CFLAG_STRIP_CHANNEL);
this->SetDesc("Lists all registered channels matching the given pattern");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -134,11 +135,6 @@ public:
{
SyntaxError(source, "LIST", LanguageString::NICK_LIST_SYNTAX);
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" LIST Lists all registered channels matching the given pattern"));
}
};
class CSList : public Module