diff options
-rw-r--r-- | mbbsd/bbs.c | 4 | ||||
-rw-r--r-- | mbbsd/talk.c | 2 |
2 files changed, 5 insertions, 1 deletions
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': |