diff options
Diffstat (limited to 'modules/core/cs_clear.cpp')
-rw-r--r-- | modules/core/cs_clear.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_clear.cpp b/modules/core/cs_clear.cpp index 910552ac2..f62e2b5f0 100644 --- a/modules/core/cs_clear.cpp +++ b/modules/core/cs_clear.cpp @@ -162,13 +162,15 @@ class CommandCSClear : public Command class CSClear : public Module { + CommandCSClear commandcsclear; + public: CSClear(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(ChanServ, new CommandCSClear()); + this->AddCommand(ChanServ, &commandcsclear); } }; |