mirror of
https://github.com/anope/anope.git
synced 2026-06-28 23:26:39 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -475,6 +475,7 @@ class CommandCSAKick : public Command
|
||||
public:
|
||||
CommandCSAKick() : Command("AKICK", 2, 4)
|
||||
{
|
||||
this->SetDesc("Maintain the AutoKick list");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -558,11 +559,6 @@ class CommandCSAKick : public Command
|
||||
{
|
||||
SyntaxError(source, "AKICK", _("AKICK \037channel\037 {ADD | DEL | LIST | VIEW | ENFORCE | CLEAR} [\037nick-or-usermask\037] [\037reason\037]"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" AKICK Maintain the AutoKick list"));
|
||||
}
|
||||
};
|
||||
|
||||
class CSAKick : public Module
|
||||
|
||||
Reference in New Issue
Block a user