1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 15:46: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
@@ -380,6 +380,7 @@ class CommandOSAKill : public Command
public:
CommandOSAKill() : Command("AKILL", 1, 4, "operserv/akill")
{
this->SetDesc("Manipulate the AKILL list");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -453,11 +454,6 @@ class CommandOSAKill : public Command
{
SyntaxError(source, "AKILL", _("AKILL {ADD | DEL | LIST | VIEW | CLEAR} [[+\037expiry\037] {\037nick\037 | \037mask\037 | \037entry-list\037} [\037reason\037]]"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" AKILL Manipulate the AKILL list"));
}
};
class OSAKill : public Module