From 7571ca327e33f649f954604396c1d97c2714b0e0 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Sat, 8 Nov 2008 01:25:59 +0000 Subject: moduleAddEventHook -> Module::AddEventHook, even though this seems to be unused.. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1586 5417fbe8-f217-4b02-8779-1006273d7864 --- include/modules.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index d20cd7dc5..9ffbd8ea3 100644 --- a/include/modules.h +++ b/include/modules.h @@ -177,6 +177,14 @@ CoreExport class Module * @param av The language sring list. **/ void InsertLanguage(int langNumber, int ac, const char **av); + + /** Add a module message to the IRCD message hash + * @param m the Message to add + * @param pos the Position to add the message to, e.g. MOD_HEAD, MOD_TAIL, MOD_UNIQUE + * @return MOD_ERR_OK on success, althing else on fail. + * + **/ + int AddEventHook(EvtHook *evh); }; struct ModuleHash_ { -- cgit