summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-14 02:38:58 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-14 02:38:58 +0800
commit3c6c380bc10ec510a34178f105747e2696a407dd (patch)
treecba3cea93148cb093a1e2fdd9b3295310742de38 /mbbsd
parent53ad6d6161a0a12d418c39669f8bf22a6e7cf1b2 (diff)
downloadpttbbs-3c6c380bc10ec510a34178f105747e2696a407dd.tar
pttbbs-3c6c380bc10ec510a34178f105747e2696a407dd.tar.gz
pttbbs-3c6c380bc10ec510a34178f105747e2696a407dd.tar.bz2
pttbbs-3c6c380bc10ec510a34178f105747e2696a407dd.tar.lz
pttbbs-3c6c380bc10ec510a34178f105747e2696a407dd.tar.xz
pttbbs-3c6c380bc10ec510a34178f105747e2696a407dd.tar.zst
pttbbs-3c6c380bc10ec510a34178f105747e2696a407dd.zip
防堵利用不同id同時舉辦賭場
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c4
-rw-r--r--mbbsd/talk.c2
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: QΤPidP|
+
move(8 + i, 0);
prints("L]w");
snprintf(genbuf, sizeof(genbuf), "[i] %s O }l!", 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, "nML(o) (T)ͤ(F)Ul(P)d"
- "(C)U`δ(D)Ut(N)SƧHF?[N] ", genbuf, 4, LCECHO);
+ "(C)UH(D)Ut(N)SƧHF?[N] ", genbuf, 4, LCECHO);
switch (*genbuf) {
case 'y':
case 't':