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