diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2010-10-20 22:11:39 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2010-10-20 22:11:39 +0800 |
commit | 27c0d9bd988a32b8aed63396978d6b9396a7dd83 (patch) | |
tree | 5ead8bee6095295151cb2a5d6de8fdf1586563b1 | |
parent | 1799b8d9dd18b571361f2d52b03df96bd6229398 (diff) | |
download | pttbbs-27c0d9bd988a32b8aed63396978d6b9396a7dd83.tar pttbbs-27c0d9bd988a32b8aed63396978d6b9396a7dd83.tar.gz pttbbs-27c0d9bd988a32b8aed63396978d6b9396a7dd83.tar.bz2 pttbbs-27c0d9bd988a32b8aed63396978d6b9396a7dd83.tar.lz pttbbs-27c0d9bd988a32b8aed63396978d6b9396a7dd83.tar.xz pttbbs-27c0d9bd988a32b8aed63396978d6b9396a7dd83.tar.zst pttbbs-27c0d9bd988a32b8aed63396978d6b9396a7dd83.zip |
who said "lock has bug"?
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 7b76beed..ccaa3161 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -137,6 +137,31 @@ check_locked(fileheader_t *fhdr) return; syncnow(); bp->SRexpire = now; + +#ifdef ALERT_M_PLUS_L + { + VREFSCR scr; + static char did_prompt = 0; + + if (did_prompt) + return; + + scr = vscr_save(); + vs_hdr("結案並停止回應"); + move(5, 0); + outs(" 請注意,本功\能 (m+L) 是「結案並終止回應」(禁回文推文),\n" + " 一直都不是「鎖定文章(變唯讀)」。" + "正牌「鎖定文章」是只有站長可用的 ^E。\n\n" + " 所以終止回應後使用者仍可修改此檔。\n\n" + " 未來我們會考慮是否該修改讓 m+L 有鎖定的能力," + "但短期內此行為不會改變。\n\n" + " 請勿再提報此項為「鎖定有 bug」, 謝謝" + ); + did_prompt = 1; + pressanykey(); + vscr_restore(scr); + } +#endif } /* hack for listing modes */ |