diff options
Diffstat (limited to 'modules/core/bs_say.cpp')
-rw-r--r-- | modules/core/bs_say.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/bs_say.cpp b/modules/core/bs_say.cpp index 81616cf32..ca9e6bde3 100644 --- a/modules/core/bs_say.cpp +++ b/modules/core/bs_say.cpp @@ -79,13 +79,15 @@ class CommandBSSay : public Command class BSSay : public Module { + CommandBSSay commandbssay; + public: BSSay(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(BotServ, new CommandBSSay()); + this->AddCommand(BotServ, &commandbssay); } }; |