summaryrefslogtreecommitdiff
path: root/modules/core/hs_help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/hs_help.cpp')
-rw-r--r--modules/core/hs_help.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/hs_help.cpp b/modules/core/hs_help.cpp
index 4645590f5..78480651a 100644
--- a/modules/core/hs_help.cpp
+++ b/modules/core/hs_help.cpp
@@ -38,13 +38,15 @@ class CommandHSHelp : public Command
class HSHelp : public Module
{
+ CommandHSHelp commandhshelp;
+
public:
HSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(HostServ, new CommandHSHelp());
+ this->AddCommand(HostServ, &commandhshelp);
}
};