mirror of
https://github.com/anope/anope.git
synced 2026-06-28 17:16:39 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -18,6 +18,7 @@ class CommandCSSetPersist : public Command
|
||||
public:
|
||||
CommandCSSetPersist(const Anope::string &cpermission = "") : Command("PERSIST", 2, 2, cpermission)
|
||||
{
|
||||
this->SetDesc("Set the channel as permanent");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -129,11 +130,6 @@ class CommandCSSetPersist : public Command
|
||||
{
|
||||
SyntaxError(source, "SET PERSIST", _("SET \037channel\037 PERSIST {ON | OFF}"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" PERSIST Set the channel as permanent"));
|
||||
}
|
||||
};
|
||||
|
||||
class CommandCSSASetPersist : public CommandCSSetPersist
|
||||
|
||||
Reference in New Issue
Block a user