Author: Isomer <isomer@coders.net>
authorPerry Lorier <isomer@undernet.org>
Sat, 1 Apr 2000 08:02:33 +0000 (08:02 +0000)
committerPerry Lorier <isomer@undernet.org>
Sat, 1 Apr 2000 08:02:33 +0000 (08:02 +0000)
Log message:

Oops! Check wrong in check_pings.  Thanks hektik.  I think we shouldn't be
allowed to commit changes after 10pm at night to avoid stupidities like this
<grin!>

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@125 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/ircd.c

index abf57bc58298702a7af7fd237493c8f06d6b524f..d58a860fb75e6c189ad7a9339037d7183107b6b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-30  Perry Lorier <isomer@coders.net>
+       * ircd/ircd.c: test in check_pings was wrong.  I move that we
+       disallow cvs commit after 10pm localtime....
+
 2000-03-30  Perry Lorier <isomer@coders.net>
        * ircd/m_pong.c: Fix it for servers too.
 
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.54 2000-04-01 07:05:33 isomer Exp $
+# $Id: ChangeLog,v 1.55 2000-04-01 08:02:33 isomer Exp $
 #
 # Insert new changes at beginning of the change list.
 #
index 6fa51e5faa1e734ae2eae1889b939dffec3d9eb6..c471135887a0ad501e7bf3cd032edce0fe96efe7 100644 (file)
@@ -312,7 +312,7 @@ static time_t check_pings(void)
    }
 
    /* Quit the client after max_ping*2 - they should have answered by now */
-   if (CurrentTime-cptr->lasttime <= (max_ping*2) ) {
+   if (CurrentTime-cptr->lasttime > (max_ping*2) ) {
       
       /* If it was a server, then tell ops about it. */
       if (IsServer(cptr) || IsConnecting(cptr) || IsHandshake(cptr))