From 803a415be1d5b7bb52462ceb76da4bb2f72b8585 Mon Sep 17 00:00:00 2001 From: ptt Date: Tue, 14 May 2002 15:20:42 +0000 Subject: fix idle timeout git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd/io.c') diff --git a/mbbsd/io.c b/mbbsd/io.c index a52b7835..37dc2be1 100644 --- a/mbbsd/io.c +++ b/mbbsd/io.c @@ -1,4 +1,4 @@ -/* $Id: io.c,v 1.13 2002/05/14 15:08:47 ptt Exp $ */ +/* $Id: io.c,v 1.14 2002/05/14 15:20:42 ptt Exp $ */ #include #include #include @@ -177,7 +177,7 @@ static int dogetch() { now= time(0); if(now-currutmp->lastact<3) anti_robot=now; - else if(!anti_robot || now-anti_robot < IDLE_TIMEOUT) + else if(!anti_robot || now-anti_robot < 5*60) { currutmp->lastact = now; } -- cgit v1.2.3