1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 03:16:37 +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
@@ -227,6 +227,7 @@ class CommandBSBadwords : public Command
public:
CommandBSBadwords() : Command("BADWORDS", 2, 3)
{
this->SetDesc("Maintains bad words list");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -311,11 +312,6 @@ class CommandBSBadwords : public Command
{
SyntaxError(source, "BADWORDS", _("BADWORDS \037channel\037 {ADD|DEL|LIST|CLEAR} [\037word\037 | \037entry-list\037] [SINGLE|START|END]"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" BADWORDS Maintains bad words list"));
}
};
class BSBadwords : public Module