diff options
Diffstat (limited to 'modules/core/ms_set.cpp')
-rw-r--r-- | modules/core/ms_set.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_set.cpp b/modules/core/ms_set.cpp index 58f33b1ee..f0abdc5de 100644 --- a/modules/core/ms_set.cpp +++ b/modules/core/ms_set.cpp @@ -260,13 +260,15 @@ class CommandMSSet : public Command class MSSet : public Module { + CommandMSSet commandmsset; + public: MSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(MemoServ, new CommandMSSet()); + this->AddCommand(MemoServ, &commandmsset); } }; |