diff options
Diffstat (limited to 'modules/core/ms_send.cpp')
-rw-r--r-- | modules/core/ms_send.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_send.cpp b/modules/core/ms_send.cpp index fd2f3636c..67fe265d1 100644 --- a/modules/core/ms_send.cpp +++ b/modules/core/ms_send.cpp @@ -47,13 +47,15 @@ class CommandMSSend : public Command class MSSend : public Module { + CommandMSSend commandmssend; + public: MSSend(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(MemoServ, new CommandMSSend()); + this->AddCommand(MemoServ, &commandmssend); } }; |