diff options
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 4 | ||||
-rw-r--r-- | pttbbs/mbbsd/mail.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index d7d51347..a328b0ac 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -2045,8 +2045,8 @@ cross_post(int ent, fileheader_t * fhdr, const char *direct) author = 0; if (HasUserPerm(PERM_SYSOP)) { char ans[4]; - getdata(2, 0, "保留原作者名稱嗎?[Y] ", ans, 3, DOECHO); - if (ans[0] != 'n') + getdata(2, 0, "保留原作者名稱嗎?[y/N] ", ans, 3, LCECHO); + if (ans[0] == 'y') author = '1'; }; diff --git a/pttbbs/mbbsd/mail.c b/pttbbs/mbbsd/mail.c index c831a80c..bbc7e40d 100644 --- a/pttbbs/mbbsd/mail.c +++ b/pttbbs/mbbsd/mail.c @@ -1583,8 +1583,8 @@ mail_cross_post(int unused_arg, fileheader_t * fhdr, const char *direct) author = 0; if (HasUserPerm(PERM_SYSOP)) { char ans[4]; - getdata(2, 0, "保留原作者名稱嗎?[Y] ", ans, 3, LCECHO); - if (ans[0] != 'n') + getdata(2, 0, "保留原作者名稱嗎?[y/N] ", ans, 3, LCECHO); + if (ans[0] == 'y') author = '1'; } do_reply_title(2, fhdr->title, str_forward, xtitle, sizeof(xtitle)); |