summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-06-26 10:47:56 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-06-26 10:47:56 +0800
commit9cc72498ce991197330c1aa957ede3e9da7321fb (patch)
tree78dc923a377e9aaed02a80b6289dc126067a2dff
parent9d184119e71d1eb08eb88a34f67746d4ce3e1ed2 (diff)
downloadpttbbs-9cc72498ce991197330c1aa957ede3e9da7321fb.tar
pttbbs-9cc72498ce991197330c1aa957ede3e9da7321fb.tar.gz
pttbbs-9cc72498ce991197330c1aa957ede3e9da7321fb.tar.bz2
pttbbs-9cc72498ce991197330c1aa957ede3e9da7321fb.tar.lz
pttbbs-9cc72498ce991197330c1aa957ede3e9da7321fb.tar.xz
pttbbs-9cc72498ce991197330c1aa957ede3e9da7321fb.tar.zst
pttbbs-9cc72498ce991197330c1aa957ede3e9da7321fb.zip
* make 'change from' free
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5067 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/cal.c4
-rw-r--r--pttbbs/mbbsd/menu.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/pttbbs/mbbsd/cal.c b/pttbbs/mbbsd/cal.c
index ecf03bd7..2686ba5e 100644
--- a/pttbbs/mbbsd/cal.c
+++ b/pttbbs/mbbsd/cal.c
@@ -95,14 +95,10 @@ p_from(void)
char tmp_from[sizeof(currutmp->from)];
if (vans("確定要改故鄉?[y/N]") != 'y')
return 0;
- reload_money();
- if (cuser.money < 49)
- return 0;
if (getdata(b_lines - 1, 0, "請輸入新故鄉:",
tmp_from, sizeof(tmp_from), DOECHO) &&
strcmp(tmp_from, currutmp->from) != 0)
{
- vice(49, "更改故鄉");
strlcpy(currutmp->from, tmp_from, sizeof(currutmp->from));
}
return 0;
diff --git a/pttbbs/mbbsd/menu.c b/pttbbs/mbbsd/menu.c
index 1d102cf9..d78daa20 100644
--- a/pttbbs/mbbsd/menu.c
+++ b/pttbbs/mbbsd/menu.c
@@ -806,7 +806,7 @@ static const commands_t xyzlist[] = {
static const commands_t moneylist[] = {
{p_give, 0, "00Give 給其他人錢"},
{save_violatelaw, 0,"11ViolateLaw 繳罰單"},
- {p_from, 0, "33From 暫時修改故鄉 $49 /次"},
+ {p_from, 0, "33From 暫時修改故鄉"},
{ordersong,0, "44OSong 歐桑動態點歌機 $200 /次"},
{p_exmail, 0, "55Exmail 購買信箱 $1000/封"},
{NULL, 0, NULL}