mirror of
https://github.com/anope/anope.git
synced 2026-06-28 00:36:37 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -19,6 +19,7 @@ class CommandNSList : public Command
|
||||
public:
|
||||
CommandNSList() : Command("LIST", 1, 2)
|
||||
{
|
||||
this->SetDesc("List all registered nicknames that match a given pattern");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -220,11 +221,6 @@ class CommandNSList : public Command
|
||||
else
|
||||
SyntaxError(source, "LIST", LanguageString::NICK_LIST_SYNTAX);
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" LIST List all registered nicknames that match a given pattern"));
|
||||
}
|
||||
};
|
||||
|
||||
class NSList : public Module
|
||||
|
||||
Reference in New Issue
Block a user