]>
Commit | Line | Data |
---|---|---|
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) | |
2 | ||
3 | diff -r 8920af84f7c9 ircd/m_kill.c | |
4 | --- a/ircd/m_kill.c | |
5 | +++ b/ircd/m_kill.c | |
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 (MyConnect(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_user(victim)->realusername[0] != '~' ? cli_user(victim)->realusername : "", 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 | /* |