summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-10-27 22:20:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-10-27 22:20:14 +0800
commit802741bc4affe29f59a63bd67e19e7061a2dddc3 (patch)
tree2a3ca966beef95d6b82946f1f7d3da6869f2df8a
parentfb86c4d65828cf3a772615a37422f54c910a4fe0 (diff)
downloadpttbbs-802741bc4affe29f59a63bd67e19e7061a2dddc3.tar
pttbbs-802741bc4affe29f59a63bd67e19e7061a2dddc3.tar.gz
pttbbs-802741bc4affe29f59a63bd67e19e7061a2dddc3.tar.bz2
pttbbs-802741bc4affe29f59a63bd67e19e7061a2dddc3.tar.lz
pttbbs-802741bc4affe29f59a63bd67e19e7061a2dddc3.tar.xz
pttbbs-802741bc4affe29f59a63bd67e19e7061a2dddc3.tar.zst
pttbbs-802741bc4affe29f59a63bd67e19e7061a2dddc3.zip
refine error messages
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/user.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/pttbbs/mbbsd/user.c b/pttbbs/mbbsd/user.c
index 499d6cb0..bf8504b5 100644
--- a/pttbbs/mbbsd/user.c
+++ b/pttbbs/mbbsd/user.c
@@ -1151,16 +1151,13 @@ uinfo_query(const char *orig_uid, int adminmode, int unum)
if (*last_uid) {
if (strcmp(last_uid, genbuf) != 0 &&
strcasecmp(last_uid, genbuf) == 0) {
- vs_hdr("搞啥?");
- // oh-no...
- outs("\n\n\n" ANSI_COLOR(1;31)
- "\t叫你別改大小寫你還改?" ANSI_RESET);
+ outs("錯誤! 不是說好不改大小寫了嗎?\n");
fail++;
break;
}
}
if (searchuser(genbuf, NULL)) {
- outs("錯誤! 已經有同樣 ID 的使用者");
+ outs("錯誤! 已經有同樣 ID 的使用者\n");
fail++;
#if !defined(NO_CHECK_AMBIGUOUS_USERID) && defined(USE_REGCHECKD)
} else if ( regcheck_ambiguous_userid_exist(genbuf) > 0 &&