1
0
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:
Adam
2011-02-11 03:12:39 -05:00
parent 7bdf592f7e
commit 2529ff6dae
148 changed files with 215 additions and 939 deletions
+1 -5
View File
@@ -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> &params)
@@ -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