summaryrefslogtreecommitdiff
path: root/src/core/cs_clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_clear.c')
-rw-r--r--src/core/cs_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_clear.c b/src/core/cs_clear.c
index 87dbd358e..a1b4bc8e7 100644
--- a/src/core/cs_clear.c
+++ b/src/core/cs_clear.c
@@ -30,7 +30,7 @@ class CSClear : public Module
this->SetType(CORE);
c = createCommand("CLEAR", do_clear, NULL, CHAN_HELP_CLEAR, -1, -1, -1, -1);
- moduleAddCommand(CHANSERV, c, MOD_UNIQUE);
+ this->AddCommand(CHANSERV, c, MOD_UNIQUE);
moduleSetChanHelp(myChanServHelp);
}