diff options
Diffstat (limited to 'modules/core/cs_info.cpp')
-rw-r--r-- | modules/core/cs_info.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_info.cpp b/modules/core/cs_info.cpp index 5f135ce4d..82722fe03 100644 --- a/modules/core/cs_info.cpp +++ b/modules/core/cs_info.cpp @@ -146,13 +146,15 @@ class CommandCSInfo : public Command class CSInfo : public Module { + CommandCSInfo commandcsinfo; + public: CSInfo(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(ChanServ, new CommandCSInfo()); + this->AddCommand(ChanServ, &commandcsinfo); } }; |