Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2005-11-14 21:17:17 UTC
Modified files:
Tag: u2_10_12_branch
ChangeLog ircd/m_kick.c
Log message:
Fix test for whether a client's own server is kicking him.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.27 ircu2.10/ChangeLog:1.710.2.28
--- ircu2.10/ChangeLog:1.710.2.27 Sun Nov 13 07:52:36 2005
+++ ircu2.10/ChangeLog Mon Nov 14 13:17:07 2005
@@ -1,3 +1,8 @@
+2005-11-14 Michael Poole <[EMAIL PROTECTED]>
+
+ * ircd/m_kick.c (ms_kick): Fix test for whether a client's own
+ server is kicking him.
+
2005-11-13 Michael Poole <[EMAIL PROTECTED]>
* include/patchlevel.h (PATCHLEVEL): Bump for pre04.
Index: ircu2.10/ircd/m_kick.c
diff -u ircu2.10/ircd/m_kick.c:1.19.2.3 ircu2.10/ircd/m_kick.c:1.19.2.4
--- ircu2.10/ircd/m_kick.c:1.19.2.3 Wed Nov 9 04:36:12 2005
+++ ircu2.10/ircd/m_kick.c Mon Nov 14 13:17:07 2005
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: m_kick.c,v 1.19.2.3 2005/11/09 12:36:12 entrope Exp $
+ * $Id: m_kick.c,v 1.19.2.4 2005/11/14 21:17:07 entrope Exp $
*/
/*
@@ -213,7 +213,7 @@
/* 2002-10-17: Don't send HACK if the users local server is kicking them */
if (IsServer(sptr) &&
!IsBurstOrBurstAck(sptr) &&
- sptr!=cli_from(who))
+ sptr!=cli_user(who)->server)
sendto_opmask_butone(0, SNO_HACK4, "HACK: %C KICK %H %C %s", sptr, chptr,
who, comment);
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches