1 make HACK notices for KICKs consitent with other HACK notices, add the type of HACK to the message (2 or 4)
3 diff -r 9c1421eb77c1 ircd/m_kick.c
4 --- a/ircd/m_kick.c Sun Jan 11 22:38:39 2009 +0000
5 +++ b/ircd/m_kick.c Sun Jan 11 22:38:39 2009 +0000
8 !IsBurstOrBurstAck(sptr) &&
9 sptr!=cli_user(who)->server)
10 - sendto_opmask_butone(0, SNO_HACK4, "HACK: %C KICK %H %C %s", sptr, chptr,
11 + sendto_opmask_butone(0, SNO_HACK4, "HACK(4): %C KICK %H %C %s", sptr, chptr,
14 /* Unless someone accepted it downstream (or the user isn't on the channel
17 if (!IsServer(sptr) && member && cli_from(who) != cptr &&
18 (!(sptr_link = find_member_link(chptr, sptr)) || !IsChanOp(sptr_link))) {
19 - sendto_opmask_butone(0, SNO_HACK2, "HACK: %C KICK %H %C %s", sptr, chptr,
20 + sendto_opmask_butone(0, SNO_HACK2, "HACK(2): %C KICK %H %C %s", sptr, chptr,
23 sendcmdto_one(who, CMD_JOIN, cptr, "%H", chptr);