diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-31 11:43:10 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-31 11:43:10 +0800 |
commit | bc46922d754ce249916b54f3398f66bf4c7ae9b1 (patch) | |
tree | 6d36d8276decb143d0f704c0181e12846cdb6342 /mbbsd/bbs.c | |
parent | fe49c3a76b174403c43cca4420ff450dab47c293 (diff) | |
download | pttbbs-bc46922d754ce249916b54f3398f66bf4c7ae9b1.tar pttbbs-bc46922d754ce249916b54f3398f66bf4c7ae9b1.tar.gz pttbbs-bc46922d754ce249916b54f3398f66bf4c7ae9b1.tar.bz2 pttbbs-bc46922d754ce249916b54f3398f66bf4c7ae9b1.tar.lz pttbbs-bc46922d754ce249916b54f3398f66bf4c7ae9b1.tar.xz pttbbs-bc46922d754ce249916b54f3398f66bf4c7ae9b1.tar.zst pttbbs-bc46922d754ce249916b54f3398f66bf4c7ae9b1.zip |
* 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
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 7 |
1 files changed, 6 insertions, 1 deletions
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]) { |