summaryrefslogtreecommitdiff
path: root/src/core/cs_akick.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_akick.c')
-rw-r--r--src/core/cs_akick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_akick.c b/src/core/cs_akick.c
index 6685f8704..88ea39661 100644
--- a/src/core/cs_akick.c
+++ b/src/core/cs_akick.c
@@ -32,7 +32,7 @@ class CSAKick : public Module
this->SetType(CORE);
c = createCommand("AKICK", do_akick, NULL, CHAN_HELP_AKICK, -1, -1, -1, -1);
- moduleAddCommand(CHANSERV, c, MOD_UNIQUE);
+ this->AddCommand(CHANSERV, c, MOD_UNIQUE);
moduleSetChanHelp(myChanServHelp);
}