diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-10 19:22:45 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-10 19:22:45 +0800 |
commit | e9d8d98773a699d4ede955f2f3259559a3084296 (patch) | |
tree | 9af500390e57ee03e0926f62c122eef25e01422f /mbbsd | |
parent | a7b93aefedaa9b63f0d42e718780463e60bb47a2 (diff) | |
download | pttbbs-e9d8d98773a699d4ede955f2f3259559a3084296.tar pttbbs-e9d8d98773a699d4ede955f2f3259559a3084296.tar.gz pttbbs-e9d8d98773a699d4ede955f2f3259559a3084296.tar.bz2 pttbbs-e9d8d98773a699d4ede955f2f3259559a3084296.tar.lz pttbbs-e9d8d98773a699d4ede955f2f3259559a3084296.tar.xz pttbbs-e9d8d98773a699d4ede955f2f3259559a3084296.tar.zst pttbbs-e9d8d98773a699d4ede955f2f3259559a3084296.zip |
recall of stay time
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2931 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/xyz.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c index 4975483f..fb48c846 100644 --- a/mbbsd/xyz.c +++ b/mbbsd/xyz.c @@ -358,12 +358,19 @@ Goodbye(void) } clear(); + more("etc/Logout", NA); + { + int diff = (now - login_start_time) / 60; + sprintf(genbuf, "此次停留時間: %d 小時 %2d 分", + diff / 60, diff % 60); + } if(!(cuser.userlevel & PERM_LOGINOK)) vmsg("尚未完成註冊。如要提昇權限請參考本站公佈欄辦理註冊"); else - pressanykey(); + vmsg(genbuf); + // pressanykey(); u_exit("EXIT "); return QUIT; |