summaryrefslogtreecommitdiff
path: root/modules/core/ms_rsend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ms_rsend.cpp')
-rw-r--r--modules/core/ms_rsend.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_rsend.cpp b/modules/core/ms_rsend.cpp
index 1caa9fe74..ed0c51998 100644
--- a/modules/core/ms_rsend.cpp
+++ b/modules/core/ms_rsend.cpp
@@ -73,6 +73,8 @@ class CommandMSRSend : public Command
class MSRSend : public Module
{
+ CommandMSRSend commandmsrsend;
+
public:
MSRSend(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
@@ -82,7 +84,7 @@ class MSRSend : public Module
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(MemoServ, new CommandMSRSend());
+ this->AddCommand(MemoServ, &commandmsrsend);
}
};