summaryrefslogtreecommitdiff
path: root/src/modules/cs_tban.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/cs_tban.c')
-rw-r--r--src/modules/cs_tban.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c
index f8fdb6502..327ec43e6 100644
--- a/src/modules/cs_tban.c
+++ b/src/modules/cs_tban.c
@@ -49,7 +49,7 @@ class CSTBan : public Module
moduleSetChanHelp(myHelp);
c = createCommand("TBAN", do_tban, NULL, -1, -1, -1, -1, -1);
moduleAddHelp(c, myFullHelp);
- moduleAddCommand(CHANSERV, c, MOD_HEAD);
+ this->AddCommand(CHANSERV, c, MOD_HEAD);
this->SetAuthor(AUTHOR);
this->SetVersion(VERSION);