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:
@@ -18,6 +18,7 @@ class CommandCSSetOpNotice : public Command
|
||||
public:
|
||||
CommandCSSetOpNotice(const Anope::string &cpermission = "") : Command("OPNOTICE", 2, 2, cpermission)
|
||||
{
|
||||
this->SetDesc("Send a notice when OP/DEOP commands are used");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -57,11 +58,6 @@ class CommandCSSetOpNotice : public Command
|
||||
{
|
||||
SyntaxError(source, "SET OPNOTICE", _("SET \037channel\037 OPNOTICE {ON | OFF}"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" OPNOTICE Send a notice when OP/DEOP commands are used"));
|
||||
}
|
||||
};
|
||||
|
||||
class CommandCSSASetOpNotice : public CommandCSSetOpNotice
|
||||
|
||||
Reference in New Issue
Block a user