1 dont sent local kills by local irc operator upstream
3 diff -r 50cf6951b339 ircd/m_kill.c
4 --- a/ircd/m_kill.c Thu Mar 18 13:27:05 2010 +0100
5 +++ b/ircd/m_kill.c Thu Mar 18 13:39:16 2010 +0100
9 /* if (IsServer(cptr) || !MyConnect(victim)) { */
10 - sendcmdto_serv_butone(sptr, CMD_KILL, cptr, "%C :%s!%s %s", victim,
11 + /* dont sent kills by local opers upstream though */
12 + if (!MyUser(sptr) || !IsLocOp(sptr) || !MyUser(victim)) {
13 + sendcmdto_serv_butone(sptr, CMD_KILL, cptr, "%C :%s!%s %s", victim,
18 * the unnecessary QUIT for this. (This flag should never be
19 * set in any other place)
21 - SetFlag(victim, FLAG_KILLED);
22 + SetFlag(victim, FLAG_KILLED);
26 * Tell the victim she/he has been zapped, but *only* if