summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-02 10:28:52 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-02 10:28:52 +0800
commita0665a20fba3f41cd4c9011fd4e7265a92448d31 (patch)
tree904937dd5f8847048ee12780535d49a6551956cd
parentaef6a27346f6ebd3f91558e0c127949b1aca1137 (diff)
downloadpttbbs-a0665a20fba3f41cd4c9011fd4e7265a92448d31.tar
pttbbs-a0665a20fba3f41cd4c9011fd4e7265a92448d31.tar.gz
pttbbs-a0665a20fba3f41cd4c9011fd4e7265a92448d31.tar.bz2
pttbbs-a0665a20fba3f41cd4c9011fd4e7265a92448d31.tar.lz
pttbbs-a0665a20fba3f41cd4c9011fd4e7265a92448d31.tar.xz
pttbbs-a0665a20fba3f41cd4c9011fd4e7265a92448d31.tar.zst
pttbbs-a0665a20fba3f41cd4c9011fd4e7265a92448d31.zip
use getkey instead of vmsg
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 37e9c6ef..d34915e5 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -888,7 +888,7 @@ reply_post(int ent, fileheader_t * fhdr, char *direct)
{
if (!CheckPostPerm() ||
((fhdr->filemode &FILE_SOLVED) &&
- vmsg("此篇文章已結案, 是否真的要回應?(y/N)")!='y'))
+ getkey("此篇文章已結案, 是否真的要回應?(y/N)")!='y'))
return DONOTHING;
setdirpath(quote_file, direct, fhdr->filename);
do_reply(fhdr);
@@ -1082,7 +1082,7 @@ read_post(int ent, fileheader_t * fhdr, char *direct)
if(more_result == 999) {
if (CheckPostPerm() && (
!(fhdr->filemode &FILE_SOLVED) ||
- vmsg("此篇文章已結案, 是否真的要回應?(y/N)")=='y')) {
+ getkey("此篇文章已結案, 是否真的要回應?(y/N)")=='y')) {
strlcpy(quote_file, genbuf, sizeof(quote_file));
do_reply(fhdr);
*quote_file = 0;