diff options
Diffstat (limited to 'src/core/bs_bot.c')
-rw-r--r-- | src/core/bs_bot.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 36aa70b73..dc48cb628 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -15,8 +15,6 @@ #include "module.h" -void myBotServHelp(User * u); - class CommandBSBot : public Command { private: @@ -446,21 +444,11 @@ class BSBot : public Module this->SetVersion("$Id$"); this->SetType(CORE); this->AddCommand(BOTSERV, new CommandBSBot(), MOD_UNIQUE); - - this->SetBotHelp(myBotServHelp); + } + void BotServHelp(User *u) + { + notice_lang(s_BotServ, u, BOT_HELP_CMD_BOT); } }; - -/** - * Add the help response to Anopes /bs help output. - * @param u The user who is requesting help - **/ -void myBotServHelp(User * u) -{ - notice_lang(s_BotServ, u, BOT_HELP_CMD_BOT); -} - - - MODULE_INIT("bs_bot", BSBot) |