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