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/ns_update.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/ns_update.c') diff --git a/src/core/ns_update.c b/src/core/ns_update.c index 9b18a4596..b84608d08 100644 --- a/src/core/ns_update.c +++ b/src/core/ns_update.c @@ -58,8 +58,9 @@ class NSUpdate : public Module this->SetVersion("$Id$"); this->SetType(CORE); this->AddCommand(NICKSERV, new CommandNSUpdate()); + ModuleManager::Attach(I_OnNickServHelp, this); } - void NickServHelp(User *u) + void OnNickServHelp(User *u) { notice_lang(s_NickServ, u, NICK_HELP_CMD_UPDATE); } -- cgit