From 997cfb050d41a91ec712734a6e02c6ecf361314f Mon Sep 17 00:00:00 2001 From: ptt Date: Fri, 7 Jun 2002 17:54:17 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/gamble.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mbbsd/gamble.c') diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c index 360f8a81..9337d569 100644 --- a/mbbsd/gamble.c +++ b/mbbsd/gamble.c @@ -1,4 +1,4 @@ -/* $Id: gamble.c,v 1.7 2002/06/07 17:45:38 ptt Exp $ */ +/* $Id: gamble.c,v 1.8 2002/06/07 17:54:17 ptt Exp $ */ #include "bbs.h" #ifndef _BBS_UTIL_C_ @@ -299,7 +299,6 @@ int openticket(int bid) { unlink(buf); if(fork()) { // Ptt 用fork防止不正常斷線洗錢 - //fclose(fp); move(22,0); prints("系統將於稍後自動把中獎結果公佈於看板 若參加者多會需要幾分鐘時間.."); pressanykey(); @@ -326,7 +325,7 @@ int openticket(int bid) { if((uid=getuser(userid))==0) continue; deumoney(uid, money * i); sprintf(buf, "%s 中獎咧! $ %d", bh->brdname, money * i); - mail_id(userid, buf, outcome, "Ptt賭場"); + mail_id(userid, buf, "etc/ticket.win", "Ptt賭場"); } } fclose(fp1); -- cgit v1.2.3