summaryrefslogtreecommitdiff
path: root/modules/core/cs_drop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_drop.cpp')
-rw-r--r--modules/core/cs_drop.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/core/cs_drop.cpp b/modules/core/cs_drop.cpp
index af01b9726..3b10a95f8 100644
--- a/modules/core/cs_drop.cpp
+++ b/modules/core/cs_drop.cpp
@@ -20,6 +20,7 @@ class CommandCSDrop : public Command
{
this->SetFlag(CFLAG_ALLOW_FORBIDDEN);
this->SetFlag(CFLAG_ALLOW_SUSPENDED);
+ this->SetDesc("Cancel the registration of a channel");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -99,11 +100,6 @@ class CommandCSDrop : public Command
{
SyntaxError(source, "DROP", _("DROP \037channel\037"));
}
-
- void OnServHelp(CommandSource &source)
- {
- source.Reply(_(" DROP Cancel the registration of a channel"));
- }
};
class CSDrop : public Module