diff options
author | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-02 14:27:40 +0800 |
---|---|---|
committer | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-02 14:27:40 +0800 |
commit | 7868546d63593fbf7f0d8bc02623ba5c6c67f381 (patch) | |
tree | 96c4c655b55376f0f4802c591a15fbca7a68cd7e /mbbsd | |
parent | cc31f6faeba08fbc6769f6d0c6fb21be10f364de (diff) | |
download | pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.gz pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.bz2 pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.lz pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.xz pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.tar.zst pttbbs-7868546d63593fbf7f0d8bc02623ba5c6c67f381.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/cal.c | 4 | ||||
-rw-r--r-- | mbbsd/talk.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index a5526783..139492e9 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -1,4 +1,4 @@ -/* $Id: cal.c,v 1.3 2002/05/02 06:20:40 lwms Exp $ */ +/* $Id: cal.c,v 1.4 2002/05/02 06:27:40 lwms Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -398,7 +398,7 @@ int p_give() { log_file(FN_MONEY, genbuf); genbuf[0] = 'n'; getdata(3, 0, "要自行書寫紅包袋嗎?[y/N]", genbuf, 2, LCECHO); - mail_redenvelop(cuser.userid, id, money, genbuf[0]); + mail_redenvelop(cuser.userid, id, money - tax, genbuf[0]); vice(tax, "贈與稅"); } return 0; diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 6da4a0d2..643a3d86 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1,4 +1,4 @@ -/* $Id: talk.c,v 1.24 2002/05/02 06:20:40 lwms Exp $ */ +/* $Id: talk.c,v 1.25 2002/05/02 06:27:40 lwms Exp $ */ #include <stdio.h> #include <string.h> #include <errno.h> @@ -2108,7 +2108,7 @@ static void pickup_user(void) uentp->userid, ch, ctime(&currutmp->lastact)); log_file(FN_MONEY, genbuf); - mail_redenvelop(cuser.userid, uentp->userid, ch, 'Y'); + mail_redenvelop(cuser.userid, uentp->userid, ch - give_tax(ch), 'Y'); vice(give_tax(ch), "贈與稅"); } } |