diff options
Diffstat (limited to 'modules/core/ms_info.cpp')
-rw-r--r-- | modules/core/ms_info.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_info.cpp b/modules/core/ms_info.cpp index f5a3f8c4c..89b816a60 100644 --- a/modules/core/ms_info.cpp +++ b/modules/core/ms_info.cpp @@ -202,13 +202,15 @@ class CommandMSInfo : public Command class MSInfo : public Module { + CommandMSInfo commandmsinfo; + public: MSInfo(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(MemoServ, new CommandMSInfo()); + this->AddCommand(MemoServ, &commandmsinfo); } }; |