From 3c6c380bc10ec510a34178f105747e2696a407dd Mon Sep 17 00:00:00 2001 From: ptt Date: Tue, 13 Apr 2004 18:38:58 +0000 Subject: =?UTF-8?q?=E9=98=B2=E5=A0=B5=E5=88=A9=E7=94=A8=E4=B8=8D=E5=90=8Ci?= =?UTF-8?q?d=E5=90=8C=E6=99=82=E8=88=89=E8=BE=A6=E8=B3=AD=E5=A0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 4 ++++ mbbsd/talk.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index a064cecb..334f7302 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1380,6 +1380,10 @@ hold_gamble(int ent, fileheader_t * fhdr, char *direct) fprintf(fp, "%s\n", genbuf); } fclose(fp); + + setbfile(genbuf, bh->brdname, FN_TICKET_RECORD); + unlink(genbuf); // Ptt: 防堵利用不同id同時舉辦賭場 + move(8 + i, 0); prints("賭盤設定完成"); snprintf(genbuf, sizeof(genbuf), "[公告] %s 板 開始賭博!", currboard); diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 308c833a..256c5550 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1280,7 +1280,7 @@ my_talk(userinfo_t * uin, int fri_stat, char defact) } else { showplans(uin->userid); getdata(2, 0, "要和他(她) (T)談天(F)下五子棋(P)鬥寵物" - "(C)下總統棋(D)下暗棋(N)沒事找錯人了?[N] ", genbuf, 4, LCECHO); + "(C)下象棋(D)下暗棋(N)沒事找錯人了?[N] ", genbuf, 4, LCECHO); switch (*genbuf) { case 'y': case 't': -- cgit v1.2.3