mirror of
https://github.com/anope/anope.git
synced 2026-06-26 07:56:39 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -255,6 +255,7 @@ class CommandCSMode : public Command
|
||||
public:
|
||||
CommandCSMode() : Command("MODE", 3, 4)
|
||||
{
|
||||
this->SetDesc("Control modes and mode locks on a channel");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -306,11 +307,6 @@ class CommandCSMode : public Command
|
||||
{
|
||||
SyntaxError(source, "MODE", _("MODE \037channel\037 {LOCK|SET} [\037modes\037 | {ADD|DEL|LIST} [\037what\037]]"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" MODE Control modes and mode locks on a channel"));
|
||||
}
|
||||
};
|
||||
|
||||
class CSMode : public Module
|
||||
|
||||
Reference in New Issue
Block a user