From 526b5b6eb9aa0a7ecd76c95b7cd4a777339eb74d Mon Sep 17 00:00:00 2001 From: ptt Date: Thu, 23 Sep 2004 14:47:16 +0000 Subject: 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 --- mbbsd/bbs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mbbsd') 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; -- cgit v1.2.3