From 7868546d63593fbf7f0d8bc02623ba5c6c67f381 Mon Sep 17 00:00:00 2001 From: lwms Date: Thu, 2 May 2002 06:27:40 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cal.c | 4 ++-- 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 #include #include @@ -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 #include #include @@ -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), "贈與稅"); } } -- cgit v1.2.3