CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_11_03
Commit time: 2002-11-24 05:27:34 UTC
Modified files:
Tag: u2_10_11_03
ChangeLog ircd/m_create.c
Log message:
Author: Kev <[EMAIL PROTECTED]>
Log message:
If the server is more than 5 minutes fast as detected in m_create(), you
want to exit the client's *server*, not the client. Calling exit_client()
on a remote client sends a QUIT *upstream*, which gets ignored since it's
the wrong direction.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.290.2.125.2.20 ircu2.10/ChangeLog:1.290.2.125.2.21
--- ircu2.10/ChangeLog:1.290.2.125.2.20 Sat Nov 23 17:46:01 2002
+++ ircu2.10/ChangeLog Sat Nov 23 21:27:24 2002
@@ -1,3 +1,9 @@
+2002-11-24 Kevin L Mitchell <[EMAIL PROTECTED]>
+
+ * ircd/m_create.c (ms_create): exit the client's *server*, not the
+ client--I was wondering why we weren't seeing any of these squits
+ on the network!
+
2002-11-24 Andrew Miller <[EMAIL PROTECTED]>
* include/ircd_alloc.h: Support FROBONMALLOC and FROBONFREE. Turned on
now for debugging.
Index: ircu2.10/ircd/m_create.c
diff -u ircu2.10/ircd/m_create.c:1.9.2.2.8.1 ircu2.10/ircd/m_create.c:1.9.2.2.8.2
--- ircu2.10/ircd/m_create.c:1.9.2.2.8.1 Sat Nov 23 09:10:19 2002
+++ ircu2.10/ircd/m_create.c Sat Nov 23 21:27:24 2002
@@ -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_create.c,v 1.9.2.2.8.1 2002/11/23 17:10:19 klmitch Exp $
+ * $Id: m_create.c,v 1.9.2.2.8.2 2002/11/24 05:27:24 klmitch Exp $
*/
/*
@@ -142,7 +142,8 @@
/* If this server is >5 minutes fast, squit it */
if (TStime() - chanTS<-5*60*60)
- return exit_client(sptr, sptr, &me, "Timestamp Drift/Bogus TS");
+ return exit_client(cptr, cli_user(sptr)->server, &me,
+ "Timestamp Drift/Bogus TS");
}
/* For each channel in the comma seperated list: */
----------------------- End of diff -----------------------