diff options
Diffstat (limited to 'modules/extra/cs_tban.cpp')
-rw-r--r-- | modules/extra/cs_tban.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/extra/cs_tban.cpp b/modules/extra/cs_tban.cpp index d09677df6..d01c96ee5 100644 --- a/modules/extra/cs_tban.cpp +++ b/modules/extra/cs_tban.cpp @@ -91,12 +91,14 @@ class CommandCSTBan : public Command class CSTBan : public Module { + CommandCSTBan commandcstban; + public: CSTBan(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { me = this; - this->AddCommand(ChanServ, new CommandCSTBan()); + this->AddCommand(ChanServ, &commandcstban); this->SetAuthor(AUTHOR); this->SetType(SUPPORTED); |