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:
@@ -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> ¶ms)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user