diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-04-10 18:49:42 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-04-10 18:49:42 +0800 |
commit | 56803c5924564e0149febc94b74dd4b4afe118c4 (patch) | |
tree | fac191c3d31f03bb0b98054724c07dd9c0005120 /mbbsd | |
parent | 3ea1eb00314e9f405e570772e01139e707c100eb (diff) | |
download | pttbbs-56803c5924564e0149febc94b74dd4b4afe118c4.tar pttbbs-56803c5924564e0149febc94b74dd4b4afe118c4.tar.gz pttbbs-56803c5924564e0149febc94b74dd4b4afe118c4.tar.bz2 pttbbs-56803c5924564e0149febc94b74dd4b4afe118c4.tar.lz pttbbs-56803c5924564e0149febc94b74dd4b4afe118c4.tar.xz pttbbs-56803c5924564e0149febc94b74dd4b4afe118c4.tar.zst pttbbs-56803c5924564e0149febc94b74dd4b4afe118c4.zip |
max idle 30'00 :P
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@97 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/talk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 1cd94a54..facab4b4 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1,4 +1,4 @@ -/* $Id: talk.c,v 1.20 2002/04/09 20:31:50 in2 Exp $ */ +/* $Id: talk.c,v 1.21 2002/04/10 10:49:42 in2 Exp $ */ #include <stdio.h> #include <string.h> #include <errno.h> @@ -1726,7 +1726,8 @@ static void pickup_user(void) #ifdef SHOW_IDLE_TIME diff = freshtime - pklist[ch].ui->lastact; //diff = pklist[ch].idle; - if (diff > 59990) diff = 59990; /* Doma: 以免一大串的發呆時間 */ + if (diff > 1800) diff = 1800; /* Doma: 以免一大串的發呆時間 */ + /* in2: max 30'00 :P */ if (diff > 0) sprintf(buf, "%3ld'%02ld", diff / 60, diff % 60); else |