summaryrefslogtreecommitdiff
path: root/modules/core/cs_set_persist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_set_persist.cpp')
-rw-r--r--modules/core/cs_set_persist.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/core/cs_set_persist.cpp b/modules/core/cs_set_persist.cpp
index 0c3ef2b97..5abc9d528 100644
--- a/modules/core/cs_set_persist.cpp
+++ b/modules/core/cs_set_persist.cpp
@@ -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> &params)
@@ -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