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 611ceadbd..111500582 100644
--- a/src/core/cs_getpass.c
+++ b/src/core/cs_getpass.c
@@ -27,7 +27,7 @@ class CSGetPass : public Module
moduleAddAuthor("Anope");
moduleAddVersion("$Id$");
- moduleSetType(this, CORE);
+ 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);