diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-26 02:43:36 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-26 02:43:36 +0800 |
commit | 0ddf2dcb058ee304f8d88bc159071d83e767ce71 (patch) | |
tree | 5940a464087aee342f6a94cb3fe2c134a546df1b | |
parent | e61a6b3f0185fcbd6d74273b5b3dbb61daa1dafd (diff) | |
download | pttbbs-0ddf2dcb058ee304f8d88bc159071d83e767ce71.tar pttbbs-0ddf2dcb058ee304f8d88bc159071d83e767ce71.tar.gz pttbbs-0ddf2dcb058ee304f8d88bc159071d83e767ce71.tar.bz2 pttbbs-0ddf2dcb058ee304f8d88bc159071d83e767ce71.tar.lz pttbbs-0ddf2dcb058ee304f8d88bc159071d83e767ce71.tar.xz pttbbs-0ddf2dcb058ee304f8d88bc159071d83e767ce71.tar.zst pttbbs-0ddf2dcb058ee304f8d88bc159071d83e767ce71.zip |
recommend lock
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 59d9b24d..dbe9936d 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/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) { |