summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index d448bbc0..a48ad6af 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -912,10 +912,11 @@ edit_post(int ent, fileheader_t * fhdr, char *direct)
if (vedit(fpath, 0, NULL) != -1) {
Rename(fpath, genbuf);
-/* Ptt: The code is unnecessary now because use the same name as original name
- if (!(currbrdattr & BRD_HIDE) && (!bp->level || (currbrdattr & BRD_POSTMASK)))
- do_crosspost(ALLPOST, fhdr, fpath);
-*/
+ if(strcmp(save_title, fhdr->title)) // Ptt: here is the black hole problem
+ {
+ strcpy(fhdr->title, save_title);
+ substitute_ref_record(direct, fhdr, ent);
+ }
}
return FULLUPDATE;
}