summaryrefslogtreecommitdiff
path: root/src/core/ns_ghost.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_ghost.c')
-rw-r--r--src/core/ns_ghost.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/core/ns_ghost.c b/src/core/ns_ghost.c
index ffca53cb4..35d6f1a67 100644
--- a/src/core/ns_ghost.c
+++ b/src/core/ns_ghost.c
@@ -15,8 +15,6 @@
#include "module.h"
-void myNickServHelp(User *u);
-
class CommandNSGhost : public Command
{
public:
@@ -98,18 +96,11 @@ class NSGhost : public Module
this->SetType(CORE);
this->AddCommand(NICKSERV, new CommandNSGhost(), MOD_UNIQUE);
-
- this->SetNickHelp(myNickServHelp);
+ }
+ void NickServHelp(User *u)
+ {
+ notice_lang(s_NickServ, u, NICK_HELP_CMD_GHOST);
}
};
-/**
- * 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_GHOST);
-}
-
MODULE_INIT("ns_ghost", NSGhost)