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