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