diff options
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index e8d0c887..32a8634e 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2683,7 +2683,7 @@ lock_post(int ent, fileheader_t * fhdr, const char *direct) if (getans("要將文章鎖定嗎(y/N)?") != 'y') return FULLUPDATE; - setbfile(fn1, currboard, r->filename); + setbfile(fn1, currboard, fhdr->filename); fhdr->filename[0] = 'L'; log_file(fn1, LOG_CREAT | LOG_VF, "\n※ Locked on: %d/%d", ptime->tm_mon + 1, ptime->tm_mday); |