diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-23 22:47:16 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-23 22:47:16 +0800 |
commit | 526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d (patch) | |
tree | 56e1f35b34731ef13e022cddd5969d60c06c2773 | |
parent | 46318e907721f11256d245d42cd8e841e8765057 (diff) | |
download | pttbbs-526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d.tar pttbbs-526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d.tar.gz pttbbs-526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d.tar.bz2 pttbbs-526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d.tar.lz pttbbs-526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d.tar.xz pttbbs-526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d.tar.zst pttbbs-526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d.zip |
check FILE_SOLVE when people want reply during reading.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index fd9e9d08..c6efd63e 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1072,7 +1072,9 @@ read_post(int ent, fileheader_t * fhdr, char *direct) if (more_result) { if(more_result == 999) { - if (CheckPostPerm()) { + if (fhdr->filemode &FILE_SOLVED) + vmsg("此篇文章不可回覆"); + else if (CheckPostPerm()) { strlcpy(quote_file, genbuf, sizeof(quote_file)); do_reply(fhdr); *quote_file = 0; |