diff options
-rw-r--r-- | mbbsd/bbs.c | 1 | ||||
-rw-r--r-- | mbbsd/xyz.c | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index dc8390b5..0d1a1a9a 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -247,6 +247,7 @@ save_violatelaw(void) Cdate(&now), cuser.userid, (int)cuser.vl_count*1000); vmsg("罰單已付,請重新登入。"); + u_exit("save_violate"); exit(0); return 0; } diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c index 8f1e7ed3..7f52a28d 100644 --- a/mbbsd/xyz.c +++ b/mbbsd/xyz.c @@ -273,17 +273,13 @@ Goodbye(void) else if (genbuf[0] == 'n') note(); } - clear(); - - show_80x24_screen("etc/Logout"); - { int diff = (now - login_start_time) / 60; snprintf(genbuf, sizeof(genbuf), "此次停留時間: %d 小時 %2d 分", diff / 60, diff % 60); } - if(!(cuser.userlevel & PERM_LOGINOK)) + if(!HasUserPerm(PERM_LOGINOK)) vmsg("尚未完成註冊。如要提昇權限請參考本站公佈欄辦理註冊"); else vmsg(genbuf); |