]> jfr.im git - irc/quakenet/newserv.git/blobdiff - core/hooks.h
nickwatch: Implement hook for user mode changes.
[irc/quakenet/newserv.git] / core / hooks.h
index d6bfe68fbe22d7c0c11f1fa8bcb17776c61ed502..de800e3537fba4a559239b094116e2080f5edd46 100644 (file)
@@ -41,6 +41,7 @@
 #define HOOK_NICK_MODEOPER         307  /* Argument is void*[2] (nick, modes) */
 #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_CHANNEL_BURST         400  /* Argument is channel pointer */
 #define HOOK_CHANNEL_CREATE        401  /* Argument is void*[2] (channel, nick) */