diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-17 10:24:21 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-17 10:24:21 +0800 |
commit | b33550c03caad20008f5c71375865f2d0e06fbee (patch) | |
tree | 4b74e6515bc8d0435dc2abadb623c2befde39517 | |
parent | ac241aafaead0a3f4db4a66bdc29d88e7e8f465a (diff) | |
download | pttbbs-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
-rw-r--r-- | mbbsd/mail.c | 2 |
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)) { |