summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-26 02:43:36 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-26 02:43:36 +0800
commit92e8c61fac2fee9a0e6723c76ae99e5245fd3597 (patch)
treef9a42b8749b030492a6d782f76c711b0e639fc8e
parent44771b7ece763f2fb9ee11dd254814fcc8ac8dea (diff)
downloadpttbbs-92e8c61fac2fee9a0e6723c76ae99e5245fd3597.tar
pttbbs-92e8c61fac2fee9a0e6723c76ae99e5245fd3597.tar.gz
pttbbs-92e8c61fac2fee9a0e6723c76ae99e5245fd3597.tar.bz2
pttbbs-92e8c61fac2fee9a0e6723c76ae99e5245fd3597.tar.lz
pttbbs-92e8c61fac2fee9a0e6723c76ae99e5245fd3597.tar.xz
pttbbs-92e8c61fac2fee9a0e6723c76ae99e5245fd3597.tar.zst
pttbbs-92e8c61fac2fee9a0e6723c76ae99e5245fd3597.zip
recommend lock
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c4
1 files changed, 3 insertions, 1 deletions
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) {