diff options
Diffstat (limited to 'modules/core/ms_check.cpp')
-rw-r--r-- | modules/core/ms_check.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_check.cpp b/modules/core/ms_check.cpp index 9f237fa15..299be5302 100644 --- a/modules/core/ms_check.cpp +++ b/modules/core/ms_check.cpp @@ -93,13 +93,15 @@ class CommandMSCheck : public Command class MSCheck : public Module { + CommandMSCheck commandmscheck; + public: MSCheck(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(MemoServ, new CommandMSCheck()); + this->AddCommand(MemoServ, &commandmscheck); } }; |