summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/gamble.c5
1 files changed, 2 insertions, 3 deletions
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);