summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-17 13:51:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-17 13:51:13 +0800
commit1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea (patch)
tree12dc7038fb55d523fb6c9548e83e89720586d6de /mbbsd/cal.c
parent9e11577128c92707c2db3f3e44814a3be0d7bf6f (diff)
downloadpttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.gz
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.bz2
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.lz
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.xz
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.tar.zst
pttbbs-1b0e3ccd58a342a56779dd843abd0f5e3f1c9dea.zip
- (internal) getans -> vans
- (internal) update license git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4175 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index 4480b1bd..7cf8c671 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -269,7 +269,7 @@ inmailbox(int m)
int
p_cloak(void)
{
- if (getans(currutmp->invisible ? "確定要現身?[y/N]" : "確定要隱身?[y/N]") != 'y')
+ if (vans(currutmp->invisible ? "確定要現身?[y/N]" : "確定要隱身?[y/N]") != 'y')
return 0;
if (cuser.money >= 19) {
vice(19, "付費隱身");
@@ -284,7 +284,7 @@ int
p_from(void)
{
char tmp_from[sizeof(currutmp->from)];
- if (getans("確定要改故鄉?[y/N]") != 'y')
+ if (vans("確定要改故鄉?[y/N]") != 'y')
return 0;
reload_money();
if (cuser.money < 49)
@@ -387,13 +387,13 @@ int do_give_money(char *id, int uid, int money)
getuser(id, &xuser);
if (!strcmp(xuser.myangel, cuser.userid)){
mail_redenvelop(
- getkey("他是你的小主人,是否匿名?[Y/n]") == 'n' ?
+ vmsg("他是你的小主人,是否匿名?[Y/n]") == 'n' ?
cuser.userid : "小天使", id, money - tax,
- getans("要自行書寫紅包袋嗎?[y/N]"));
+ vans("要自行書寫紅包袋嗎?[y/N]"));
} else
#endif
mail_redenvelop(cuser.userid, id, money - tax,
- getans("要自行書寫紅包袋嗎?[y/N]"));
+ vans("要自行書寫紅包袋嗎?[y/N]"));
if (money < 50) {
usleep(2000000);
} else if (money < 200) {
@@ -460,7 +460,7 @@ give_money_ui(const char *userid)
} else {
outs("你的認證尚未過期,可暫時跳過密碼認證程序。\n");
// auth is valid.
- if (getans("確定進行交易嗎? (y/N): ") == 'y')
+ if (vans("確定進行交易嗎? (y/N): ") == 'y')
skipauth = 1;
else
tries = -1;