diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-10-05 21:36:07 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-10-05 21:36:07 +0800 |
commit | 4ed294b254b2dcb27519d6e4173b7019e6e56303 (patch) | |
tree | 34e79c62b9aff25ad8550b810a9f2160a1910db2 /mbbsd/bbs.c | |
parent | cebeab878d320642ec21d47d21359dab7007d80c (diff) | |
download | pttbbs-4ed294b254b2dcb27519d6e4173b7019e6e56303.tar pttbbs-4ed294b254b2dcb27519d6e4173b7019e6e56303.tar.gz pttbbs-4ed294b254b2dcb27519d6e4173b7019e6e56303.tar.bz2 pttbbs-4ed294b254b2dcb27519d6e4173b7019e6e56303.tar.lz pttbbs-4ed294b254b2dcb27519d6e4173b7019e6e56303.tar.xz pttbbs-4ed294b254b2dcb27519d6e4173b7019e6e56303.tar.zst pttbbs-4ed294b254b2dcb27519d6e4173b7019e6e56303.zip |
found black hold.
lower the threshold of safe_article_delete
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index d34915e5..e9bd8eee 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1675,7 +1675,7 @@ del_range(int ent, fileheader_t *fhdr, char *direct) outmsg("處理中,請稍後..."); refresh(); #ifdef SAFE_ARTICLE_DELETE - if(bp && !(currmode & MODE_DIGEST) && bp->nuser > 20 ) + if(bp && !(currmode & MODE_DIGEST) && bp->nuser > 30 ) safe_article_delete_range(direct, inum1, inum2); else delete_range(direct, inum1, inum2); @@ -1725,7 +1725,7 @@ del_post(int ent, fileheader_t * fhdr, char *direct) if (genbuf[0] == 'y') { if( #ifdef SAFE_ARTICLE_DELETE - (bp->nuser>100 && !(currmode & MODE_DIGEST) && + (bp->nuser>30 && !(currmode & MODE_DIGEST) && !safe_article_delete(ent, fhdr, direct)) || #endif !delete_record(direct, sizeof(fileheader_t), ent) |