summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-17 10:24:21 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-17 10:24:21 +0800
commitb33550c03caad20008f5c71375865f2d0e06fbee (patch)
tree4b74e6515bc8d0435dc2abadb623c2befde39517 /mbbsd/mail.c
parentac241aafaead0a3f4db4a66bdc29d88e7e8f465a (diff)
downloadpttbbs-b33550c03caad20008f5c71375865f2d0e06fbee.tar
pttbbs-b33550c03caad20008f5c71375865f2d0e06fbee.tar.gz
pttbbs-b33550c03caad20008f5c71375865f2d0e06fbee.tar.bz2
pttbbs-b33550c03caad20008f5c71375865f2d0e06fbee.tar.lz
pttbbs-b33550c03caad20008f5c71375865f2d0e06fbee.tar.xz
pttbbs-b33550c03caad20008f5c71375865f2d0e06fbee.tar.zst
pttbbs-b33550c03caad20008f5c71375865f2d0e06fbee.zip
fix FILE_REPLIED, in board reply mode
we should check direct, not ent. this bug made FILE_DIGEST appear on board-reply. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3180 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 9d6ff1e4..e01a0b68 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1151,7 +1151,7 @@ mail_reply(int ent, fileheader_t * fhdr, const char *direct)
case 0:
/* success */
- if ( ent && /* for board, no ent */
+ if ( direct && /* for board, no direct */
(curredit & EDIT_MAIL) &&
!(fhdr->filemode & FILE_REPLIED))
{