diff options
author | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-07 16:15:16 +0800 |
---|---|---|
committer | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-07 16:15:16 +0800 |
commit | 513fb9ca61afd4b43541f1294c73ff81f5a983b2 (patch) | |
tree | 4731457c65ee7f1726d19b76dec6319dd6983d67 /mbbsd | |
parent | ae452414f6162b671c1e227b83689e3d716ce724 (diff) | |
download | pttbbs-513fb9ca61afd4b43541f1294c73ff81f5a983b2.tar pttbbs-513fb9ca61afd4b43541f1294c73ff81f5a983b2.tar.gz pttbbs-513fb9ca61afd4b43541f1294c73ff81f5a983b2.tar.bz2 pttbbs-513fb9ca61afd4b43541f1294c73ff81f5a983b2.tar.lz pttbbs-513fb9ca61afd4b43541f1294c73ff81f5a983b2.tar.xz pttbbs-513fb9ca61afd4b43541f1294c73ff81f5a983b2.tar.zst pttbbs-513fb9ca61afd4b43541f1294c73ff81f5a983b2.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 80e66b0c..0c82bc2f 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1,4 +1,4 @@ -/* $Id: talk.c,v 1.27 2002/05/06 09:17:02 lwms Exp $ */ +/* $Id: talk.c,v 1.28 2002/05/07 08:15:16 lwms Exp $ */ #include <stdio.h> #include <string.h> #include <errno.h> @@ -2101,6 +2101,7 @@ static void pickup_user(void) outs("\033[41m 現金不足~~\033[m"); else{ deumoney(uentp->uid, ch - give_tax(ch)); + vice(give_tax(ch), "贈與稅"); sprintf(genbuf, "\033[44m 嗯..還剩下 %d 錢.." "\033[m", demoney(-1*(ch - give_tax(ch)))); outs(genbuf); @@ -2109,7 +2110,6 @@ static void pickup_user(void) ctime(&currutmp->lastact)); log_file(FN_MONEY, genbuf); mail_redenvelop(cuser.userid, uentp->userid, ch - give_tax(ch), 'Y'); - vice(give_tax(ch), "贈與稅"); } } else{ |