From 2cd2220c27e46673b4b83ad2c885ded3309b5aac Mon Sep 17 00:00:00 2001 From: ptt Date: Mon, 20 Dec 2004 16:28:53 +0000 Subject: cross post only happen on different boards git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2383 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 6 ++++-- 1 file 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 -- cgit v1.2.3