diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-12-21 00:36:09 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-12-21 00:36:09 +0800 |
commit | 0ca2a0449120c66ac26bb8331624b62c03ea6984 (patch) | |
tree | b81d625a535352664bda5ec74c12838aec7371e7 /mbbsd | |
parent | 2cd2220c27e46673b4b83ad2c885ded3309b5aac (diff) | |
download | pttbbs-0ca2a0449120c66ac26bb8331624b62c03ea6984.tar pttbbs-0ca2a0449120c66ac26bb8331624b62c03ea6984.tar.gz pttbbs-0ca2a0449120c66ac26bb8331624b62c03ea6984.tar.bz2 pttbbs-0ca2a0449120c66ac26bb8331624b62c03ea6984.tar.lz pttbbs-0ca2a0449120c66ac26bb8331624b62c03ea6984.tar.xz pttbbs-0ca2a0449120c66ac26bb8331624b62c03ea6984.tar.zst pttbbs-0ca2a0449120c66ac26bb8331624b62c03ea6984.zip |
set crosspost times as zero only when he change the board.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2384 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/edit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 6544bb12..1296f23d 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1145,7 +1145,8 @@ write_file(char *fpath, int saveheader, int *islocal) if (po && sum == 3) { memcpy(&postrecord.checksum[1], checksum, sizeof(int) * 3); - postrecord.times = 0; + if(postrecord.last_bid != currbid) + postrecord.times = 0; } if (!aborted) { if (islocal) |