summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/edit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index a115c214..6544bb12 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1114,13 +1114,15 @@ write_file(char *fpath, int saveheader, int *islocal)
trim(msg);
line++;
- if (currstat == POSTING && po) {
+ if (currstat == POSTING && po ) {
saveheader = str_checksum(msg);
if (saveheader) {
- if (postrecord.checksum[po] == saveheader) {
+ if (postrecord.last_bid != currbid &&
+ postrecord.checksum[po] == saveheader) {
po++;
if (po > 3) {
postrecord.times++;
+ postrecord.last_bid = currbid;
po = 0;
}
} else