summaryrefslogtreecommitdiff
path: root/src/core/cs_sendpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_sendpass.c')
-rw-r--r--src/core/cs_sendpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_sendpass.c b/src/core/cs_sendpass.c
index 241ad9691..2e37f2e33 100644
--- a/src/core/cs_sendpass.c
+++ b/src/core/cs_sendpass.c
@@ -32,7 +32,7 @@ class CSSendPass : public Module
c = createCommand("SENDPASS", do_sendpass, NULL, CHAN_HELP_SENDPASS,
-1, -1, -1, -1);
- moduleAddCommand(CHANSERV, c, MOD_UNIQUE);
+ this->AddCommand(CHANSERV, c, MOD_UNIQUE);
moduleSetChanHelp(myChanServHelp);