summaryrefslogtreecommitdiff
path: root/modules/core/cs_getkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_getkey.cpp')
-rw-r--r--modules/core/cs_getkey.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/core/cs_getkey.cpp b/modules/core/cs_getkey.cpp
index 0842d2caf..a5a84616c 100644
--- a/modules/core/cs_getkey.cpp
+++ b/modules/core/cs_getkey.cpp
@@ -18,6 +18,7 @@ class CommandCSGetKey : public Command
public:
CommandCSGetKey() : Command("GETKEY", 1, 1)
{
+ this->SetDesc("Returns the key of the given channel");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -59,11 +60,6 @@ class CommandCSGetKey : public Command
{
SyntaxError(source, "GETKEY", _("GETKEY \037channel\037"));
}
-
- void OnServHelp(CommandSource &source)
- {
- source.Reply(_(" GETKEY Returns the key of the given channel"));
- }
};
class CSGetKey : public Module