diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-06 00:54:29 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-06 00:54:29 +0800 |
commit | 8d9c25ecd715a6c62755e4dd036c15fb601c975c (patch) | |
tree | b8c1a1ecb3ccb366b6286cff0a9380fc4787bc71 /mbbsd/cal.c | |
parent | 07b0628a5700b1d3bb5281b64fa9d5ac7073ed87 (diff) | |
download | pttbbs-8d9c25ecd715a6c62755e4dd036c15fb601c975c.tar pttbbs-8d9c25ecd715a6c62755e4dd036c15fb601c975c.tar.gz pttbbs-8d9c25ecd715a6c62755e4dd036c15fb601c975c.tar.bz2 pttbbs-8d9c25ecd715a6c62755e4dd036c15fb601c975c.tar.lz pttbbs-8d9c25ecd715a6c62755e4dd036c15fb601c975c.tar.xz pttbbs-8d9c25ecd715a6c62755e4dd036c15fb601c975c.tar.zst pttbbs-8d9c25ecd715a6c62755e4dd036c15fb601c975c.zip |
various money related fix
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r-- | mbbsd/cal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 26cce228..013746d5 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -417,8 +417,8 @@ p_give(void) return 0; /* 繳完稅就沒錢給了 */ deumoney(searchuser(id, id), money - tax); // TODO if searchuser(id) return 0 demoney(-money); - log_file(FN_MONEY, LOG_CREAT | LOG_VF, "%s\t給%s\t%d\t%s", - cuser.userid, id, money - tax, ctime4(&now)); + log_file(FN_MONEY, LOG_CREAT | LOG_VF, "%s\t給%s\t%d\t(稅後 %d)\t%s", + cuser.userid, id, money, money - tax, ctime4(&now)); #ifdef PLAY_ANGEL getuser(id, &xuser); if (!strcmp(xuser.myangel, cuser.userid)){ |