summaryrefslogtreecommitdiff
path: root/modules/core/ms_sendall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ms_sendall.cpp')
-rw-r--r--modules/core/ms_sendall.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_sendall.cpp b/modules/core/ms_sendall.cpp
index 35efd2f1e..aa19cfb6c 100644
--- a/modules/core/ms_sendall.cpp
+++ b/modules/core/ms_sendall.cpp
@@ -63,13 +63,15 @@ class CommandMSSendAll : public Command
class MSSendAll : public Module
{
+ CommandMSSendAll commandmssendall;
+
public:
MSSendAll(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(MemoServ, new CommandMSSendAll());
+ this->AddCommand(MemoServ, &commandmssendall);
}
};