summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-23 18:03:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-23 18:03:13 +0800
commitd9a6b23c1a49bdb5997edaeea19534452ce9a73c (patch)
treed46d5ef6a558ae55964a99b4da5ab92fe1475dd7
parent338831dec1ce98ec5f7762b8fe01d775cfe3a0a2 (diff)
downloadpttbbs-d9a6b23c1a49bdb5997edaeea19534452ce9a73c.tar
pttbbs-d9a6b23c1a49bdb5997edaeea19534452ce9a73c.tar.gz
pttbbs-d9a6b23c1a49bdb5997edaeea19534452ce9a73c.tar.bz2
pttbbs-d9a6b23c1a49bdb5997edaeea19534452ce9a73c.tar.lz
pttbbs-d9a6b23c1a49bdb5997edaeea19534452ce9a73c.tar.xz
pttbbs-d9a6b23c1a49bdb5997edaeea19534452ce9a73c.tar.zst
pttbbs-d9a6b23c1a49bdb5997edaeea19534452ce9a73c.zip
* 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
-rw-r--r--daemon/logind/logind.c4
-rw-r--r--mbbsd/mbbsd.c2
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