diff options
Diffstat (limited to 'modules/core/bs_info.cpp')
-rw-r--r-- | modules/core/bs_info.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/bs_info.cpp b/modules/core/bs_info.cpp index 65147d859..2f1dafb81 100644 --- a/modules/core/bs_info.cpp +++ b/modules/core/bs_info.cpp @@ -216,13 +216,15 @@ class CommandBSInfo : public Command class BSInfo : public Module { + CommandBSInfo commandbsinfo; + public: BSInfo(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(BotServ, new CommandBSInfo()); + this->AddCommand(BotServ, &commandbsinfo); } }; |