summaryrefslogtreecommitdiff
path: root/modules/core/bs_help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/bs_help.cpp')
-rw-r--r--modules/core/bs_help.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/bs_help.cpp b/modules/core/bs_help.cpp
index 08146f827..c41472ad3 100644
--- a/modules/core/bs_help.cpp
+++ b/modules/core/bs_help.cpp
@@ -41,13 +41,15 @@ class CommandBSHelp : public Command
class BSHelp : public Module
{
+ CommandBSHelp commandbshelp;
+
public:
BSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(BotServ, new CommandBSHelp());
+ this->AddCommand(BotServ, &commandbshelp);
}
};