diff options
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 4 insertions, 0 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); |