summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/cal.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index 4cab90f9..736f41fe 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -124,12 +124,6 @@ osong(void)
unlockutmpmode();
return 0;
}
- if (cuser.money < 200) {
- move(22, 0);
- vmsg("點歌要200銀唷!....");
- unlockutmpmode();
- return 0;
- }
while (1) {
char ans[4];
@@ -154,6 +148,13 @@ osong(void)
}
}
+ if (cuser.money < 200) {
+ move(22, 0);
+ vmsg("點歌要200銀唷!....");
+ unlockutmpmode();
+ return 0;
+ }
+
getdata_str(14, 0, "點歌者(可匿名): ", sender, sizeof(sender), DOECHO, cuser.userid);
getdata(15, 0, "點給(可匿名): ", receiver, sizeof(receiver), DOECHO);