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/ms_sendall.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/ms_sendall.c') diff --git a/src/core/ms_sendall.c b/src/core/ms_sendall.c index 56dfbf1c2..7bed4ebac 100644 --- a/src/core/ms_sendall.c +++ b/src/core/ms_sendall.c @@ -68,8 +68,10 @@ class MSSendAll : public Module this->SetVersion("$Id$"); this->SetType(CORE); this->AddCommand(MEMOSERV, new CommandMSSendAll()); + + ModuleManager::Attach(I_OnMemoServHelp, this); } - void MemoServHelp(User *u) + void OnMemoServHelp(User *u) { notice_lang(s_MemoServ, u, MEMO_HELP_CMD_SENDALL); } -- cgit