summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-14 00:08:15 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-14 00:08:15 +0800
commit53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2 (patch)
tree97d805f10e8ab8f97e5dd70a7117d71fa6bbba26 /mbbsd/bbs.c
parent0775e9d20c61f23d895fc92a499a69e031a211c0 (diff)
downloadpttbbs-53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2.tar
pttbbs-53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2.tar.gz
pttbbs-53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2.tar.bz2
pttbbs-53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2.tar.lz
pttbbs-53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2.tar.xz
pttbbs-53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2.tar.zst
pttbbs-53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2.zip
1.change outs pressanykey -> vmsg
2.secrete chess git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1751 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index dd631f1a..a064cecb 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -550,8 +550,7 @@ do_general(int isbid)
&& !((cuser->uflag2 & FOREIGN) && strcmp(bp->brdname, "PttForeign") == 0)
#endif
) {
- outmsg("對不起,您目前無法在此發表文章!");
- pressanykey();
+ vmsg("對不起,您目前無法在此發表文章!");
return READ_REDRAW;
}
#ifdef NO_WATER_POST
@@ -559,8 +558,7 @@ do_general(int isbid)
/* 三分鐘內最多發表五篇文章 */
if (currutmp->lastact - last_post_time < 60 * 3) {
if (water_counts >= 5) {
- outmsg("對不起,您的文章太水囉,待會再post吧!小秘訣:可用'X'推薦文章");
- pressanykey();
+ vmsg("對不起,您的文章太水囉,待會再post吧!可用'X'推薦文章");
return READ_REDRAW;
}
} else {
@@ -1778,9 +1776,7 @@ del_range(int ent, fileheader_t *fhdr, char *direct)
/* rocker.011018: 串接模式下還是不允許刪除比較好 */
if (currmode & MODE_SELECT) {
- outmsg("請先回到正常模式後再進行刪除...");
- refresh();
- /* safe_sleep(1); */
+ vmsg("請先回到正常模式後再進行刪除...");
return FULLUPDATE;
}
@@ -1788,17 +1784,13 @@ del_range(int ent, fileheader_t *fhdr, char *direct)
getdata(1, 0, "[設定刪除範圍] 起點:", num1, 6, DOECHO);
inum1 = atoi(num1);
if (inum1 <= 0) {
- outmsg("起點有誤");
- refresh();
- /* safe_sleep(1); */
+ vmsg("起點有誤");
return FULLUPDATE;
}
getdata(1, 28, "終點:", num2, 6, DOECHO);
inum2 = atoi(num2);
if (inum2 < inum1) {
- outmsg("終點有誤");
- refresh();
- /* safe_sleep(1); */
+ vmsg("終點有誤");
return FULLUPDATE;
}
getdata(1, 48, msg_sure_ny, num1, 3, LCECHO);