From 802741bc4affe29f59a63bd67e19e7061a2dddc3 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 27 Oct 2011 14:20:14 +0000 Subject: refine error messages git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/user.c | 7 ++----- 1 file 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 && -- cgit v1.2.3