summaryrefslogtreecommitdiff
path: root/modules/core/cs_saset_noexpire.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_saset_noexpire.cpp')
-rw-r--r--modules/core/cs_saset_noexpire.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/core/cs_saset_noexpire.cpp b/modules/core/cs_saset_noexpire.cpp
index 0c769ad08..5edf0f3c2 100644
--- a/modules/core/cs_saset_noexpire.cpp
+++ b/modules/core/cs_saset_noexpire.cpp
@@ -18,6 +18,7 @@ class CommandCSSASetNoexpire : public Command
public:
CommandCSSASetNoexpire() : Command("NOEXPIRE", 2, 2, "chanserv/saset/noexpire")
{
+ this->SetDesc("Prevent the channel from expiring");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -55,11 +56,6 @@ class CommandCSSASetNoexpire : public Command
{
SyntaxError(source, "SET NOEXPIRE", _("SET \037channel\037 NOEXPIRE {ON | OFF}"));
}
-
- void OnServHelp(CommandSource &source)
- {
- source.Reply(_(" NOEXPIRE Prevent the channel from expiring"));
- }
};
class CSSetNoexpire : public Module