summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
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_ {