diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-04-09 11:30:29 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-04-09 11:30:29 +0800 |
commit | 54ab3b0886feb9faa8ead846c2bd1e2b688023e5 (patch) | |
tree | b8f0d80dde931fad65ae71428301c2fdb60bbf5d /mbbsd/user.c | |
parent | 320da42e1169e6a786522035d40ba6d71460634f (diff) | |
download | pttbbs-54ab3b0886feb9faa8ead846c2bd1e2b688023e5.tar pttbbs-54ab3b0886feb9faa8ead846c2bd1e2b688023e5.tar.gz pttbbs-54ab3b0886feb9faa8ead846c2bd1e2b688023e5.tar.bz2 pttbbs-54ab3b0886feb9faa8ead846c2bd1e2b688023e5.tar.lz pttbbs-54ab3b0886feb9faa8ead846c2bd1e2b688023e5.tar.xz pttbbs-54ab3b0886feb9faa8ead846c2bd1e2b688023e5.tar.zst pttbbs-54ab3b0886feb9faa8ead846c2bd1e2b688023e5.zip |
fix last commit for normal user
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3502 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index e5d00208..b9b15e3f 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -651,10 +651,10 @@ uinfo_query(userec_t *u, int adminmode, int unum) "(6)殺/復活寵物(7)審判(M)改信箱 [0]結束 " : "請選擇 (1)修改資料 (2)設定密碼 (M)修改信箱 (C) 個人化設定 ==> [0]結束 "); - if (ans > '2' && ans != 'C' && ans != 'c' && !adminmode) + if (ans > '2' && ans != 'm' && ans != 'c' && !adminmode) ans = '0'; - if (ans == '1' || ans == '3') { + if (ans == '1' || ans == '3' || ans == 'm') { clear(); i = 1; move(i++, 0); @@ -662,12 +662,10 @@ uinfo_query(userec_t *u, int adminmode, int unum) outs(x.userid); } switch (ans) { - case 'C': case 'c': Customize(); return; case 'm': - case 'M': do { getdata_str(i, 0, "電子信箱[變動要重新認證]:", buf, 50, DOECHO, x.email); |