summaryrefslogtreecommitdiff
path: root/modules/core/ms_help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ms_help.cpp')
-rw-r--r--modules/core/ms_help.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_help.cpp b/modules/core/ms_help.cpp
index 793006a60..535b051f0 100644
--- a/modules/core/ms_help.cpp
+++ b/modules/core/ms_help.cpp
@@ -39,13 +39,15 @@ class CommandMSHelp : public Command
class MSHelp : public Module
{
+ CommandMSHelp commandmshelp;
+
public:
MSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(MemoServ, new CommandMSHelp());
+ this->AddCommand(MemoServ, &commandmshelp);
}
};