diff options
Diffstat (limited to 'src/core/ns_recover.c')
-rw-r--r-- | src/core/ns_recover.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/core/ns_recover.c b/src/core/ns_recover.c index 6032ca509..b843d5c30 100644 --- a/src/core/ns_recover.c +++ b/src/core/ns_recover.c @@ -15,8 +15,6 @@ #include "module.h" -void myNickServHelp(User *u); - class CommandNSRecover : public Command { public: @@ -117,18 +115,11 @@ class NSRecover : public Module this->SetType(CORE); this->AddCommand(NICKSERV, new CommandNSRecover(), MOD_UNIQUE); - - this->SetNickHelp(myNickServHelp); + } + void NickServHelp(User *u) + { + notice_lang(s_NickServ, u, NICK_HELP_CMD_RECOVER); } }; -/** - * Add the help response to anopes /ns help output. - * @param u The user who is requesting help - **/ -void myNickServHelp(User *u) -{ - notice_lang(s_NickServ, u, NICK_HELP_CMD_RECOVER); -} - MODULE_INIT("ns_recover", NSRecover) |