From 88ee0bd58dca54f1fd0b931da169551f16ba73ac Mon Sep 17 00:00:00 2001 From: Perry Lorier Date: Sat, 1 Apr 2000 08:02:33 +0000 Subject: [PATCH 1/1] Author: Isomer 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 git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@125 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 6 +++++- ircd/ircd.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index abf57bc..d58a860 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-03-30 Perry Lorier + * ircd/ircd.c: test in check_pings was wrong. I move that we + disallow cvs commit after 10pm localtime.... + 2000-03-30 Perry Lorier * ircd/m_pong.c: Fix it for servers too. @@ -273,7 +277,7 @@ # # 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. # diff --git a/ircd/ircd.c b/ircd/ircd.c index 6fa51e5..c471135 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -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)) -- 2.20.1