]> jfr.im git - irc/quakenet/newserv.git/blobdiff - core/hooks.h
patrol_commands: Fix crash.
[irc/quakenet/newserv.git] / core / hooks.h
index 198e525f76c08086b59c85d55c9d46c059024074..d362cf61fd48a15eb10750f0c09019d3c1b3c481 100644 (file)
@@ -41,7 +41,8 @@
 #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_MOVENODE         310  /* Argument is void*[2] (nick, oldnode) */
+#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_CHANNEL_BURST         400  /* Argument is channel pointer */
 #define HOOK_CHANNEL_CREATE        401  /* Argument is void*[2] (channel, nick) */
 
 #define HOOK_SIGNONTRACKER_HAVETIME 1100 /* Argument is nick* */
 
+#define HOOK_WHOWAS_NEWRECORD      1200 /* Argument is void*[2] (whowas *, nick *) */
+#define HOOK_WHOWAS_LOSTRECORD     1201 /* Argument is whowas * */
+
 #define PRIORITY_DEFAULT           0
 
 #define PRIORITY_MAX               LONG_MIN