summaryrefslogtreecommitdiff
path: root/modules/core/ns_getpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_getpass.cpp')
-rw-r--r--modules/core/ns_getpass.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/core/ns_getpass.cpp b/modules/core/ns_getpass.cpp
index 7c6c14785..cd79512fb 100644
--- a/modules/core/ns_getpass.cpp
+++ b/modules/core/ns_getpass.cpp
@@ -18,6 +18,7 @@ class CommandNSGetPass : public Command
public:
CommandNSGetPass() : Command("GETPASS", 1, 1, "nickserv/getpass")
{
+ this->SetDesc("Retrieve the password for a nickname");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -74,11 +75,6 @@ class CommandNSGetPass : public Command
{
SyntaxError(source, "GETPASS", _("GETPASS \037nickname\037"));
}
-
- void OnServHelp(CommandSource &source)
- {
- source.Reply(_(" GETPASS Retrieve the password for a nickname"));
- }
};
class NSGetPass : public Module