]>
Commit | Line | Data |
---|---|---|
af6e0bfe | 1 | show 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 | |
8ccaa32f | 3 | diff -r 43c64cf43c35 ircd/m_kill.c |
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, | |
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 | /* |