summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-08 01:54:17 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-08 01:54:17 +0800
commit997cfb050d41a91ec712734a6e02c6ecf361314f (patch)
tree0720257c93d583139bfc2bf0aa1f085afc695ace
parent0c5deed05beb7aaed4528a164fa8182f73fbc0e8 (diff)
downloadpttbbs-997cfb050d41a91ec712734a6e02c6ecf361314f.tar
pttbbs-997cfb050d41a91ec712734a6e02c6ecf361314f.tar.gz
pttbbs-997cfb050d41a91ec712734a6e02c6ecf361314f.tar.bz2
pttbbs-997cfb050d41a91ec712734a6e02c6ecf361314f.tar.lz
pttbbs-997cfb050d41a91ec712734a6e02c6ecf361314f.tar.xz
pttbbs-997cfb050d41a91ec712734a6e02c6ecf361314f.tar.zst
pttbbs-997cfb050d41a91ec712734a6e02c6ecf361314f.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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);