diff options
Diffstat (limited to 'src/core/cs_getkey.c')
-rw-r--r-- | src/core/cs_getkey.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/core/cs_getkey.c b/src/core/cs_getkey.c index e07850924..cc7e4792f 100644 --- a/src/core/cs_getkey.c +++ b/src/core/cs_getkey.c @@ -15,16 +15,6 @@ #include "module.h" - -/** - * Add the help response to anopes /cs help output. - * @param u The user who is requesting help - **/ -void myChanServHelp(User * u) -{ - notice_lang(s_ChanServ, u, CHAN_HELP_CMD_GETKEY); -} - class CommandCSGetKey : public Command { public: @@ -88,8 +78,10 @@ class CSGetKey : public Module this->SetVersion("$Id$"); this->SetType(CORE); this->AddCommand(CHANSERV, new CommandCSGetKey(), MOD_UNIQUE); - - this->SetChanHelp(myChanServHelp); + } + void ChanServHelp(User *u) + { + notice_lang(s_ChanServ, u, CHAN_HELP_CMD_GETKEY); } }; |