summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-22 22:52:04 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-22 22:52:04 +0800
commit6a96546a014efc705aebcc1fc6ca23448df23d26 (patch)
tree4b0fdafacde767b73969bdda17378379640193e4 /mbbsd
parent5a6f3131fdf4f4b85cf85709d3813068d4985b65 (diff)
downloadpttbbs-6a96546a014efc705aebcc1fc6ca23448df23d26.tar
pttbbs-6a96546a014efc705aebcc1fc6ca23448df23d26.tar.gz
pttbbs-6a96546a014efc705aebcc1fc6ca23448df23d26.tar.bz2
pttbbs-6a96546a014efc705aebcc1fc6ca23448df23d26.tar.lz
pttbbs-6a96546a014efc705aebcc1fc6ca23448df23d26.tar.xz
pttbbs-6a96546a014efc705aebcc1fc6ca23448df23d26.tar.zst
pttbbs-6a96546a014efc705aebcc1fc6ca23448df23d26.zip
* reject people without basic permission (why such user exist?).
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4879 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mbbsd.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index af4ade36..6f436180 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1283,12 +1283,11 @@ user_login(void)
} else {
// XXX no userlevel, no guest - what is this?
- // clear();
- // outs("此帳號停權中");
- // pressanykey();
- // exit(1);
-
- check_mailbox_quota();
+ clear();
+ outs("抱歉,您的帳號資料異常或已被停權。\n");
+ pressanykey();
+ exit(1);
+ // check_mailbox_quota();
}
if(ptime.tm_yday!=lasttime.tm_yday)