From d9a6b23c1a49bdb5997edaeea19534452ce9a73c Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 23 Aug 2009 10:03:13 +0000 Subject: * unquote [new] [guest]. * reason: we've heard that some people really try to input "[new]"... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4764 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- daemon/logind/logind.c | 4 ++-- mbbsd/mbbsd.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/logind/logind.c b/daemon/logind/logind.c index 748fdc49..7de948bd 100644 --- a/daemon/logind/logind.c +++ b/daemon/logind/logind.c @@ -720,13 +720,13 @@ _set_bind_opt(int sock) #endif #ifdef STR_GUEST -# define MSG_GUEST ",或以[" STR_GUEST "]參觀" +# define MSG_GUEST ",或以 " STR_GUEST " 參觀" #else # define MSG_GUEST "" #endif #ifdef STR_REGNEW -# define MSG_REGNEW ",或以[new]註冊" +# define MSG_REGNEW ",或以 new 註冊" #else # define MSG_REGNEW #endif diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index b8f397e8..7782c5ed 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -818,7 +818,7 @@ login_query(char *ruid) prints("current pid: %d ", getpid()); #endif - if (getdata(20, 0, "請輸入代號,或以[guest]參觀,以[new]註冊: ", + if (getdata(20, 0, "請輸入代號,或以 guest 參觀,或以 new 註冊: ", uid, sizeof(uid), DOECHO) < 1) { // got nothing -- cgit v1.2.3