diff options
Diffstat (limited to 'modules/core/cs_status.cpp')
-rw-r--r-- | modules/core/cs_status.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_status.cpp b/modules/core/cs_status.cpp index 01c95796d..0d41a5481 100644 --- a/modules/core/cs_status.cpp +++ b/modules/core/cs_status.cpp @@ -63,13 +63,15 @@ class CommandCSStatus : public Command class CSStatus : public Module { + CommandCSStatus commandcsstatus; + public: CSStatus(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(ChanServ, new CommandCSStatus()); + this->AddCommand(ChanServ, &commandcsstatus); } }; |