]> jfr.im git - irc/quakenet/newserv.git/blobdiff - core/hooks.h
CHANSERV: remove E type escapes
[irc/quakenet/newserv.git] / core / hooks.h
index de800e3537fba4a559239b094116e2080f5edd46..c728c2e5cbeb0446e8375e5629210ad4645fe4f9 100644 (file)
@@ -42,6 +42,8 @@
 #define HOOK_NICK_KILL             308  /* Argument is void*[2] (nick, reason) */
 #define HOOK_NICK_MASKPRIVMSG      309  /* Argument is void*[3] (nick, target, message) ** NICK COULD BE NULL ** */
 #define HOOK_NICK_MODECHANGE       310  /* Argument is void*[2] (nick *, oldmodes) */
+#define HOOK_NICK_MESSAGE          311  /* Argument is void*[3] (nick *, message, isnotice) */
+#define HOOK_NICK_PRE_LOSTNICK     312  /* Argument is nick* */
 
 #define HOOK_CHANNEL_BURST         400  /* Argument is channel pointer */
 #define HOOK_CHANNEL_CREATE        401  /* Argument is void*[2] (channel, nick) */
 #define HOOK_WHOWAS_NEWRECORD      1200 /* Argument is void*[2] (whowas *, nick *) */
 #define HOOK_WHOWAS_LOSTRECORD     1201 /* Argument is whowas * */
 
+#define HOOK_LUA_LOADSCRIPT        1300 /* Argument is void*[2] (char *, lua_State *) */
+#define HOOK_LUA_UNLOADSCRIPT      1301 /* Argument is lua_State* */
+
 #define PRIORITY_DEFAULT           0
 
 #define PRIORITY_MAX               LONG_MIN