diff options
Diffstat (limited to 'modules/core/bs_kick.cpp')
-rw-r--r-- | modules/core/bs_kick.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/bs_kick.cpp b/modules/core/bs_kick.cpp index 4936f0112..cb0253874 100644 --- a/modules/core/bs_kick.cpp +++ b/modules/core/bs_kick.cpp @@ -376,13 +376,15 @@ class CommandBSKick : public Command class BSKick : public Module { + CommandBSKick commandbskick; + public: BSKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(BotServ, new CommandBSKick()); + this->AddCommand(BotServ, &commandbskick); } }; |