summaryrefslogtreecommitdiff
path: root/src/core/cs_getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_getpass.c')
-rw-r--r--src/core/cs_getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_getpass.c b/src/core/cs_getpass.c
index b45c9aa1e..f8ebfa0db 100644
--- a/src/core/cs_getpass.c
+++ b/src/core/cs_getpass.c
@@ -30,7 +30,7 @@ class CSGetPass : public Module
this->SetType(CORE);
c = createCommand("GETPASS", do_getpass, is_services_admin, -1, -1, -1, CHAN_SERVADMIN_HELP_GETPASS, CHAN_SERVADMIN_HELP_GETPASS);
- moduleAddCommand(CHANSERV, c, MOD_UNIQUE);
+ this->AddCommand(CHANSERV, c, MOD_UNIQUE);
moduleSetChanHelp(myChanServHelp);
}