summaryrefslogtreecommitdiffstats
path: root/mbbsd/card.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-30 16:25:07 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-30 16:25:07 +0800
commit37019e5c460e64a6dec35863d53603fbe9825ce1 (patch)
tree720a97a54076991509a13484b344f7d176973c66 /mbbsd/card.c
parent7b2cc2e83030882b319bbf87932c7727c174adc7 (diff)
downloadpttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.gz
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.bz2
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.lz
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.xz
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.zst
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.zip
* (pwcu branch) code refine, remove unused code, and finetune alerts
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4796 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;
}