summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-04-06 13:25:40 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-04-06 13:25:40 +0800
commit0962d524ea670b14e820b287f34078f4957f48a7 (patch)
treea81dccda5928f8cde60d46ceb7d9ed13ac890e23 /mbbsd
parent5e8a153148db05337a0267977af9f8fce7d3fcec (diff)
downloadpttbbs-0962d524ea670b14e820b287f34078f4957f48a7.tar
pttbbs-0962d524ea670b14e820b287f34078f4957f48a7.tar.gz
pttbbs-0962d524ea670b14e820b287f34078f4957f48a7.tar.bz2
pttbbs-0962d524ea670b14e820b287f34078f4957f48a7.tar.lz
pttbbs-0962d524ea670b14e820b287f34078f4957f48a7.tar.xz
pttbbs-0962d524ea670b14e820b287f34078f4957f48a7.tar.zst
pttbbs-0962d524ea670b14e820b287f34078f4957f48a7.zip
add a error message
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3500 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 6f9335d2..d639dc3d 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -688,7 +688,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
{
getdata_str(i, 0, "電子信箱[變動要重新認證]:", buf, 50, DOECHO,
x.email);
- }while(!isvalidemail(buf));
+ }while(!isvalidemail(buf) && vmsg("認證信箱不能用使用免費信箱"));
i++;
if (strcmp(buf, x.email) && strchr(buf, '@')) {
strlcpy(x.email, buf, sizeof(x.email));