summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-05 21:36:07 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-05 21:36:07 +0800
commit4ed294b254b2dcb27519d6e4173b7019e6e56303 (patch)
tree34e79c62b9aff25ad8550b810a9f2160a1910db2 /mbbsd
parentcebeab878d320642ec21d47d21359dab7007d80c (diff)
downloadpttbbs-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')
-rw-r--r--mbbsd/bbs.c4
-rw-r--r--mbbsd/read.c2
2 files changed, 3 insertions, 3 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)
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 0a1e7197..a54aa614 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -169,7 +169,7 @@ TagPruner(int bid)
if (getans("刪除所有標記[N]?") != 'y')
return READ_REDRAW;
#ifdef SAFE_ARTICLE_DELETE
- if(bp && !(currmode & MODE_DIGEST) && bp->nuser>100 )
+ if(bp && !(currmode & MODE_DIGEST) && bp->nuser>30 )
safe_delete_range(currdirect, 0, 0);
else
#endif