From f400bfaa42cd66718b9035d658407690b591a338 Mon Sep 17 00:00:00 2001 From: bbs Date: Wed, 7 May 2003 03:35:07 +0000 Subject: OUTTA_TIMER git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/io.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/io.c b/mbbsd/io.c index 3e8f79a7..3b15bbe7 100644 --- a/mbbsd/io.c +++ b/mbbsd/io.c @@ -1,4 +1,4 @@ -/* $Id: io.c,v 1.28 2003/03/15 15:30:58 in2 Exp $ */ +/* $Id: io.c,v 1.29 2003/05/07 03:35:07 bbs Exp $ */ #include "bbs.h" #if defined(linux) @@ -139,7 +139,11 @@ dogetch() icurrchar = 0; } if (currutmp) { +#ifdef OUTTA_TIMER + now = SHM->GV2.e.now; +#else now = time(0); +#endif if (now - lastact < 3) currutmp->lastact = now; lastact = now; -- cgit v1.2.3