mirror of
https://github.com/anope/anope.git
synced 2026-06-25 12:36:38 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -18,6 +18,7 @@ class CommandCSSetSecureOps : public Command
|
||||
public:
|
||||
CommandCSSetSecureOps(const Anope::string &cpermission = "") : Command("SECUREOPS", 2, 2, cpermission)
|
||||
{
|
||||
this->SetDesc("Stricter control of chanop status");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -56,11 +57,6 @@ class CommandCSSetSecureOps : public Command
|
||||
{
|
||||
SyntaxError(source, "SET SECUREOPS", _("SET \037channel\037 SECUREOPS {ON | OFF}"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" SECUREOPS Stricter control of chanop status"));
|
||||
}
|
||||
};
|
||||
|
||||
class CommandCSSASetSecureOps : public CommandCSSetSecureOps
|
||||
|
||||
Reference in New Issue
Block a user