From bc46922d754ce249916b54f3398f66bf4c7ae9b1 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 31 Aug 2009 03:43:10 +0000 Subject: * fix ANSI in getdata/vgets prompts * allow badpost filtering for everyone git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4805 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mbbsd/bbs.c') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 92ff4cd5..8d8cd67d 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1231,7 +1231,12 @@ do_generalboardreply(/*const*/ fileheader_t * fhdr) if (!CheckPostRestriction(currbid)) { - getdata(b_lines - 1, 0, ANSI_COLOR(1;31) "▲ 無法回應至看板。 " ANSI_RESET + getdata(b_lines - 1, 0, +#ifdef USE_PFTERM + ANSI_COLOR(1;31) "▲ 無法回應至看板。 " ANSI_RESET +#else + "▲ 無法回應至看板。 " +#endif "改回應至 (M)作者信箱 (Q)取消?[Q] ", genbuf, sizeof(genbuf), LCECHO); switch (genbuf[0]) { -- cgit v1.2.3