summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-12 15:49:59 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-12 15:49:59 +0800
commit0d4166c24d046abb9fe3961b5144c87a09631f98 (patch)
treeec09f990ea02fe8cb5610c01ca4f9b3d8118621c
parentffc98e6f5ff66b5c4c4d88729b0833673df4535c (diff)
downloadpttbbs-0d4166c24d046abb9fe3961b5144c87a09631f98.tar
pttbbs-0d4166c24d046abb9fe3961b5144c87a09631f98.tar.gz
pttbbs-0d4166c24d046abb9fe3961b5144c87a09631f98.tar.bz2
pttbbs-0d4166c24d046abb9fe3961b5144c87a09631f98.tar.lz
pttbbs-0d4166c24d046abb9fe3961b5144c87a09631f98.tar.xz
pttbbs-0d4166c24d046abb9fe3961b5144c87a09631f98.tar.zst
pttbbs-0d4166c24d046abb9fe3961b5144c87a09631f98.zip
some people enabled hidden mode get detection screen everytime
because lastlogintime not updated git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2831 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 74d257d2..36f66ab9 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1033,6 +1033,8 @@ user_login(void)
cuser.uflag &= ~DBCSAWARE_FLAG;
else
cuser.uflag |= DBCSAWARE_FLAG;
+
+ cuser.lastlogin = login_start_time;
}
#endif