summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 01:25:59 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 01:25:59 +0000
commit7571ca327e33f649f954604396c1d97c2714b0e0 (patch)
tree0db2458070a843a1ea53397b2a314bad75476892 /include/modules.h
parentd2e5ef67e3cd1bab3af02fabc521533fda2d9da8 (diff)
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
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h8
1 files changed, 8 insertions, 0 deletions
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_ {