X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/9d8d6ac9faf1bf4444efef3ece2dfcb0d29afbe1..80e32fcd996025093c28b304d91d376b72c1496e:/core/hooks.h diff --git a/core/hooks.h b/core/hooks.h index e02e1db8..d362cf61 100644 --- a/core/hooks.h +++ b/core/hooks.h @@ -41,6 +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_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) */ @@ -99,6 +101,9 @@ #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