]>
Commit | Line | Data |
---|---|---|
edb26b39 P |
1 | # HG changeset patch |
2 | # Parent 6a047b4fb135f6c2e5cb110706e860487ec1422d | |
3 | ||
4 | diff -r 6a047b4fb135 ircd/m_kill.c | |
5 | --- a/ircd/m_kill.c Sun Jul 14 21:45:34 2013 +0100 | |
6 | +++ b/ircd/m_kill.c Sun Jul 14 21:59:33 2013 +0100 | |
7 | @@ -136,18 +136,22 @@ | |
8 | * was changed, the message has to be sent to all links, also | |
9 | * back. | |
10 | * Client suicide kills are NOT passed on --SRB | |
11 | + * | |
12 | + * but Kill is a kill, and should reach the entire net as such | |
13 | + * so that the kill is shown in snomask to opers, which is not possible | |
14 | + * when it is changed into quit, as happens below with this condition in place | |
15 | + * - wiebe | |
16 | */ | |
17 | - if (IsServer(cptr) || !MyConnect(victim)) { | |
18 | - sendcmdto_serv_butone(sptr, CMD_KILL, cptr, "%C :%s!%s %s", victim, | |
19 | + /* if (IsServer(cptr) || !MyConnect(victim)) { */ | |
20 | + sendcmdto_serv_butone(sptr, CMD_KILL, cptr, "%C :%s!%s %s", victim, | |
21 | inpath, path, msg); | |
22 | ||
23 | - /* | |
24 | - * Set FLAG_KILLED. This prevents exit_one_client from sending | |
25 | - * the unnecessary QUIT for this. (This flag should never be | |
26 | - * set in any other place) | |
27 | - */ | |
28 | - SetFlag(victim, FLAG_KILLED); | |
29 | - } | |
30 | + /* | |
31 | + * Set FLAG_KILLED. This prevents exit_one_client from sending | |
32 | + * the unnecessary QUIT for this. (This flag should never be | |
33 | + * set in any other place) | |
34 | + */ | |
35 | + SetFlag(victim, FLAG_KILLED); | |
36 | ||
37 | /* | |
38 | * Tell the victim she/he has been zapped, but *only* if |