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