summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/bbs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index e3c4ca6f..13febdc5 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -1084,8 +1084,7 @@ do_crosspost(const char *brd, fileheader_t *postfile, const char *fpath,
sprintf(fh.title,"%-*.*s.%sªO", len, len, postfile->title, currboard);
unlink(genbuf);
Copy((char *)fpath, genbuf);
- // should be fh.filemode ?
- postfile->filemode = FILE_LOCAL;
+ fh.filemode = FILE_LOCAL;
setbdir(genbuf, brd);
if (append_record(genbuf, &fh, sizeof(fileheader_t)) != -1) {
SHM->lastposttime[bid - 1] = now;