From 92e8c61fac2fee9a0e6723c76ae99e5245fd3597 Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 25 Aug 2002 18:43:36 +0000 Subject: recommend lock git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mbbsd/bbs.c') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 59d9b24d..dbe9936d 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.69 2002/08/25 07:37:39 in2 Exp $ */ +/* $Id: bbs.c,v 1.70 2002/08/25 18:43:36 in2 Exp $ */ #include "bbs.h" static void @@ -1243,6 +1243,8 @@ recommend(int ent, fileheader_t * fhdr, char *direct) cuser.userid, path, 51 - strlen(cuser.userid) - strlen(path), " ", fromhost, ptime->tm_mon + 1, ptime->tm_mday); + if( iseditlocking(path, "±ÀÂˤ峹") ) + return FULLUPDATE; setdirpath(path, direct, fhdr->filename); log_file(path, buf); if (fhdr->recommend < 9) { -- cgit v1.2.3