summaryrefslogtreecommitdiff
path: root/modules/core/ms_del.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ms_del.cpp')
-rw-r--r--modules/core/ms_del.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_del.cpp b/modules/core/ms_del.cpp
index f6e21269e..8d5b45c04 100644
--- a/modules/core/ms_del.cpp
+++ b/modules/core/ms_del.cpp
@@ -146,13 +146,15 @@ class CommandMSDel : public Command
class MSDel : public Module
{
+ CommandMSDel commandmsdel;
+
public:
MSDel(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(MemoServ, new CommandMSDel());
+ this->AddCommand(MemoServ, &commandmsdel);
}
};