summaryrefslogtreecommitdiffstats
path: root/mbbsd/card.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-10 18:05:12 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-10 18:05:12 +0800
commit0a50f91422cc78e215c541d08dbf30fdeb91477c (patch)
tree9b09fa98181fe6ef345109eb0c279d3628889c09 /mbbsd/card.c
parent78a17f4498134b9db1fc95e7be14798422475475 (diff)
parentf115309f094fb58ce49a14a24d58144aa13d3e5c (diff)
downloadpttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.gz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.bz2
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.lz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.xz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.zst
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.zip
* make pwcu branch as trunk.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/card.c')
-rw-r--r--mbbsd/card.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/mbbsd/card.c b/mbbsd/card.c
index 5735c4c6..48f29b98 100644
--- a/mbbsd/card.c
+++ b/mbbsd/card.c
@@ -441,28 +441,6 @@ game_log(int type, int money)
if (money > 0)
card_add_money(money);
- // if the money is not real user money, no need to log anymore.
-#if 0
- FILE *fp;
-
- switch (type) {
- case JACK:
- fp = fopen(BBSHOME "/etc/card/jack.log", "a");
- if (!fp)
- return 0;
- fprintf(fp, "%s win:%d\n", cuser.userid, money);
- fclose(fp);
- break;
- case TEN_HALF:
- fp = fopen(BBSHOME "/etc/card/tenhalf.log", "a");
- if (!fp)
- return 0;
- fprintf(fp, "%s win:%d\n", cuser.userid, money);
- fclose(fp);
- break;
- }
-#endif
-
return 0;
}