diff options
-rw-r--r-- | mbbsd/bbs.c | 4 | ||||
-rw-r--r-- | mbbsd/user.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 27b623e0..f77c8310 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1961,7 +1961,7 @@ editLimits(unsigned char *pregtime, unsigned char *plogins, sprintf(genbuf, "%u", logins*10); do { getdata_buf(b_lines - 1, 0, - "上站次數下限 (0~2550,以10為單位):", genbuf, 5, LCECHO); + "上站次數下限 (0~2550,以10為單位,個位數字將自動捨去):", genbuf, 5, LCECHO); temp = atoi(genbuf); } while (temp < 0 || temp > 2550); logins = (unsigned char)(temp / 10); @@ -1969,7 +1969,7 @@ editLimits(unsigned char *pregtime, unsigned char *plogins, sprintf(genbuf, "%u", posts*10); do { getdata_buf(b_lines - 1, 0, - "文章篇數下限 (0~2550,以10為單位):", genbuf, 5, LCECHO); + "文章篇數下限 (0~2550,以10為單位,個位數字將自動捨去):", genbuf, 5, LCECHO); temp = atoi(genbuf); } while (temp < 0 || temp > 2550); posts = (unsigned char)(temp / 10); diff --git a/mbbsd/user.c b/mbbsd/user.c index c58e2472..21140b7c 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -698,8 +698,7 @@ uinfo_query(userec_t *u, int adminmode, int unum) case 'm': do { - getdata_str(y, 0, adminmode ? "電子信箱 (站長可設為 x ): " - : "電子信箱 [變動要重新認證]:", buf, + getdata_str(y, 0, "電子信箱 [變動要重新認證]:", buf, sizeof(x.email), DOECHO, x.email); } while (!isvalidemail(buf) && vmsg("認證信箱不能用使用免費信箱")); y++; |