diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-17 22:39:52 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-17 22:39:52 +0800 |
commit | 14cbdd79c0fbd18327c45a32ac40adf2548d38a3 (patch) | |
tree | ac1f1a1dcd99c46d6a07b7398014d635b40f445c /mbbsd/bbs.c | |
parent | 8a8b33a1b77c42386ecb671635325b289d8a6132 (diff) | |
download | pttbbs-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/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 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) |