diff options
Diffstat (limited to 'src/core/bs_set.c')
-rw-r--r-- | src/core/bs_set.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/core/bs_set.c b/src/core/bs_set.c index 34d3f66d4..fc939c5c6 100644 --- a/src/core/bs_set.c +++ b/src/core/bs_set.c @@ -15,8 +15,6 @@ #include "module.h" -void myBotServHelp(User * u); - class CommandBSSet : public Command { public: @@ -188,19 +186,11 @@ class BSSet : public Module this->SetVersion("$Id$"); this->SetType(CORE); this->AddCommand(BOTSERV, new CommandBSSet(), MOD_UNIQUE); - - this->SetBotHelp(myBotServHelp); + } + void BotServHelp(User *u) + { + notice_lang(s_BotServ, u, BOT_HELP_CMD_SET); } }; - -/** - * 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_SET); -} - MODULE_INIT("bs_set", BSSet) |