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:
@@ -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> ¶ms)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user