From 9d37cf1d5afeaa054f31e0df85275521410bde61 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sun, 8 Nov 2009 23:43:51 +0000 Subject: Made the Module::ServHelp() functions part of the event system git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2637 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_bot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/bs_bot.c') diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 6c6c83ea1..e6a6e59e8 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -434,8 +434,10 @@ class BSBot : public Module this->SetVersion("$Id$"); this->SetType(CORE); this->AddCommand(BOTSERV, new CommandBSBot()); + + ModuleManager::Attach(I_OnBotServHelp, this); } - void BotServHelp(User *u) + void OnBotServHelp(User *u) { notice_lang(s_BotServ, u, BOT_HELP_CMD_BOT); } -- cgit