]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blame - killalwaysshowvictimuip.patch
refesh of whotopic for changes in m_check.c in checkput
[irc/quakenet/snircd-patchqueue.git] / killalwaysshowvictimuip.patch
CommitLineData
3bf5cd42 1show nick[user@host] in kills for remote users
2
3diff -r 8273a0f68e66 ircd/m_kill.c
4--- a/ircd/m_kill.c Thu Mar 18 12:44:52 2010 +0100
5+++ b/ircd/m_kill.c Thu Mar 18 13:23:51 2010 +0100
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,
11+ if (MyUser(victim))
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,
18+ "Received KILL message for %s[%s@%s] from %s Path: %s!%s %s",
19+ cli_name(victim), cli_username(victim), ircd_ntoa(&cli_ip(victim)),
20+ get_client_name_and_opername(sptr),
21+ inpath, path, msg);
22 log_write_kill(victim, sptr, inpath, path, msg);
23
24 /*