summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorbbs <bbs@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-07 11:35:07 +0800
committerbbs <bbs@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-07 11:35:07 +0800
commitf400bfaa42cd66718b9035d658407690b591a338 (patch)
tree888ddd77107e50a1d420da696e4f4a665399a065 /mbbsd
parent5b1545cbda010c4092992d60e1a2ca2a1cff672f (diff)
downloadpttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar
pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.gz
pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.bz2
pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.lz
pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.xz
pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.zst
pttbbs-f400bfaa42cd66718b9035d658407690b591a338.zip
OUTTA_TIMER
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/io.c6
1 files changed, 5 insertions, 1 deletions
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;