]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blame - killalwaysshowvictimuip.patch
Remove topic_reveal.patch. This has been fixed in IRCU and ircu patch is correct...
[irc/quakenet/snircd-patchqueue.git] / killalwaysshowvictimuip.patch
CommitLineData
af6e0bfe 1show nick[user@host] in kills for remote users (user part is not shown in case the user did not have an ident reply)
3bf5cd42 2
84f2112b 3diff -r 8920af84f7c9 ircd/m_kill.c
8ccaa32f 4--- a/ircd/m_kill.c
5+++ b/ircd/m_kill.c
3bf5cd42 6@@ -125,10 +125,17 @@
7 * Note: "victim->name" is used instead of "user" because we may
8 * have changed the target because of the nickname change.
9 */
10- sendto_opmask_butone(0, snomask,
8ccaa32f 11+ if (MyConnect(victim))
3bf5cd42 12+ sendto_opmask_butone(0, snomask,
13 "Received KILL message for %s from %s Path: %s!%s %s",
14 get_client_name(victim, SHOW_IP), get_client_name_and_opername(sptr),
15 inpath, path, msg);
16+ else
17+ sendto_opmask_butone(0, snomask,
84f2112b 18+ "Received KILL message for %s(%s@%s) from %s Path: %s!%s %s",
af6e0bfe 19+ cli_name(victim), cli_user(victim)->realusername[0] != '~' ? cli_user(victim)->realusername : "", ircd_ntoa(&cli_ip(victim)),
3bf5cd42 20+ get_client_name_and_opername(sptr),
21+ inpath, path, msg);
22 log_write_kill(victim, sptr, inpath, path, msg);
23
24 /*