mirror of
https://github.com/anope/anope.git
synced 2026-06-26 10:16:40 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -18,6 +18,7 @@ class CommandNSSetKill : public Command
|
||||
public:
|
||||
CommandNSSetKill(const Anope::string &spermission = "") : Command("KILL", 2, 3, spermission)
|
||||
{
|
||||
this->SetDesc("Turn protection on or off");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -92,11 +93,6 @@ class CommandNSSetKill : public Command
|
||||
{
|
||||
SyntaxError(source, "SET KILL", Config->NSAllowKillImmed ? _("SET KILL {ON | QUICK | IMMED | OFF}") : _("SET KILL {ON | QUICK | OFF}"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" KILL Turn protection on or off"));
|
||||
}
|
||||
};
|
||||
|
||||
class CommandNSSASetKill : public CommandNSSetKill
|
||||
@@ -129,11 +125,6 @@ class CommandNSSASetKill : public CommandNSSetKill
|
||||
{
|
||||
SyntaxError(source, "SASET KILL", Config->NSAllowKillImmed ? _("SASET \037nickname\037 KILL {ON | QUICK | IMMED | OFF}") : _("SASET \037nickname\037 KILL {ON | QUICK | OFF}"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" KILL Turn protection on or off"));
|
||||
}
|
||||
};
|
||||
|
||||
class NSSetKill : public Module
|
||||
|
||||
Reference in New Issue
Block a user