summaryrefslogtreecommitdiff
path: root/src/core/ns_sendpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_sendpass.c')
-rw-r--r--src/core/ns_sendpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_sendpass.c b/src/core/ns_sendpass.c
index 8336e9345..03ac69d38 100644
--- a/src/core/ns_sendpass.c
+++ b/src/core/ns_sendpass.c
@@ -31,7 +31,7 @@ class NSSendPass : public Module
this->SetType(CORE);
c = createCommand("SENDPASS", do_sendpass, NULL, NICK_HELP_SENDPASS, -1, -1, -1, -1);
- moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
+ this->AddCommand(NICKSERV, c, MOD_UNIQUE);
moduleSetNickHelp(myNickServHelp);
if (!UseMail)