summaryrefslogtreecommitdiff
path: root/src/core/cs_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_info.c')
-rw-r--r--src/core/cs_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_info.c b/src/core/cs_info.c
index 1b97e8a61..549859044 100644
--- a/src/core/cs_info.c
+++ b/src/core/cs_info.c
@@ -30,7 +30,7 @@ class CSInfo : public Module
this->SetType(CORE);
c = createCommand("INFO", do_info, NULL, CHAN_HELP_INFO, -1, CHAN_SERVADMIN_HELP_INFO, CHAN_SERVADMIN_HELP_INFO, CHAN_SERVADMIN_HELP_INFO);
- moduleAddCommand(CHANSERV, c, MOD_UNIQUE);
+ this->AddCommand(CHANSERV, c, MOD_UNIQUE);
moduleSetChanHelp(myChanServHelp);
}