summaryrefslogtreecommitdiff
path: root/src/core/ns_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_access.c')
-rw-r--r--src/core/ns_access.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/core/ns_access.c b/src/core/ns_access.c
index e66cce40e..4222a47b4 100644
--- a/src/core/ns_access.c
+++ b/src/core/ns_access.c
@@ -15,8 +15,6 @@
#include "module.h"
-void myNickServHelp(User *u);
-
class CommandNSAccess : public Command
{
private:
@@ -183,18 +181,11 @@ class NSAccess : public Module
this->SetType(CORE);
this->AddCommand(NICKSERV, new CommandNSAccess(), MOD_UNIQUE);
-
- this->SetNickHelp(myNickServHelp);
+ }
+ void NickServHelp(User *u)
+ {
+ notice_lang(s_NickServ, u, NICK_HELP_CMD_ACCESS);
}
};
-/**
- * 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_ACCESS);
-}
-
MODULE_INIT("ns_access", NSAccess)