diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-09-25 15:59:00 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-09-25 15:59:00 +0800 |
commit | ea0e19b92b2cd3a8072832ca745e8212dd54c3f2 (patch) | |
tree | 36960efac55fd0b4c2496dcb357f808151df2665 | |
parent | b9a6c26af3919f18abac24591c7af884cd4b3d31 (diff) | |
download | pttbbs-ea0e19b92b2cd3a8072832ca745e8212dd54c3f2.tar pttbbs-ea0e19b92b2cd3a8072832ca745e8212dd54c3f2.tar.gz pttbbs-ea0e19b92b2cd3a8072832ca745e8212dd54c3f2.tar.bz2 pttbbs-ea0e19b92b2cd3a8072832ca745e8212dd54c3f2.tar.lz pttbbs-ea0e19b92b2cd3a8072832ca745e8212dd54c3f2.tar.xz pttbbs-ea0e19b92b2cd3a8072832ca745e8212dd54c3f2.tar.zst pttbbs-ea0e19b92b2cd3a8072832ca745e8212dd54c3f2.zip |
* fix crash if BM range-delete his mail after he enter his board.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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 71b390cd..967657b0 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2607,7 +2607,7 @@ del_range(int ent, const fileheader_t *fhdr, const char *direct) #endif fixkeep(direct, inum1); - if (currmode & MODE_BOARD) // Ptt:update cache + if ((curredit & EDIT_MAIL)==0 && (currmode & MODE_BOARD)) // Ptt:update cache setbtotal(currbid); else if(currstat == RMAIL) setupmailusage(); |