]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blobdiff - localoperkill.patch
remove empty patches
[irc/quakenet/snircd-patchqueue.git] / localoperkill.patch
index b157fe3919ec35ad7319946f555c72a170101956..92ebd6910f3df38ab6ed5a493eddff1110b8c37e 100644 (file)
@@ -1,6 +1,6 @@
 dont sent local kills by local irc operator upstream
 
-diff -r a58c741e7e71 ircd/m_kill.c
+diff -r df380b7771ea ircd/m_kill.c
 --- a/ircd/m_kill.c
 +++ b/ircd/m_kill.c
 @@ -143,7 +143,9 @@
@@ -9,7 +9,7 @@ diff -r a58c741e7e71 ircd/m_kill.c
     /* if (IsServer(cptr) || !MyConnect(victim)) { */
 -  sendcmdto_serv_butone(sptr, CMD_KILL, cptr, "%C :%s!%s %s", victim,
 +  /* dont sent kills by local opers upstream though */
-+  if (!(MyUser(sptr) && IsLocOp(sptr) && MyUser(victim))) {
++  if (!(MyUser(sptr) && IsLocOp(sptr) && MyConnect(victim))) {
 +     sendcmdto_serv_butone(sptr, CMD_KILL, cptr, "%C :%s!%s %s", victim,
                            inpath, path, msg);