diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 4 | ||||
-rw-r--r-- | mbbsd/read.c | 2 |
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 |