summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-09-17 22:39:52 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-09-17 22:39:52 +0800
commit14cbdd79c0fbd18327c45a32ac40adf2548d38a3 (patch)
treeac1f1a1dcd99c46d6a07b7398014d635b40f445c /mbbsd
parent8a8b33a1b77c42386ecb671635325b289d8a6132 (diff)
downloadpttbbs-14cbdd79c0fbd18327c45a32ac40adf2548d38a3.tar
pttbbs-14cbdd79c0fbd18327c45a32ac40adf2548d38a3.tar.gz
pttbbs-14cbdd79c0fbd18327c45a32ac40adf2548d38a3.tar.bz2
pttbbs-14cbdd79c0fbd18327c45a32ac40adf2548d38a3.tar.lz
pttbbs-14cbdd79c0fbd18327c45a32ac40adf2548d38a3.tar.xz
pttbbs-14cbdd79c0fbd18327c45a32ac40adf2548d38a3.tar.zst
pttbbs-14cbdd79c0fbd18327c45a32ac40adf2548d38a3.zip
move up the threshold of safe_delete
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2201 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c2
-rw-r--r--mbbsd/read.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 94a4b7f7..1c7fd538 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1713,7 +1713,7 @@ del_post(int ent, fileheader_t * fhdr, char *direct)
if (genbuf[0] == 'y') {
if(
#ifdef SAFE_ARTICLE_DELETE
- (bp->nuser>20 && !(currmode & MODE_DIGEST) &&
+ (bp->nuser>100 && !(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 394984e4..cb48b594 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>20 )
+ if(bp && !(currmode & MODE_DIGEST) && bp->nuser>100 )
safe_delete_range(currdirect, 0, 0);
else
#endif