summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-12 15:38:18 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-12 15:38:18 +0800
commit0482f7a736cf7d13ace4d8222efae333a3cfd61f (patch)
tree4607bedbfe90ad46e9774a0650f88d589955a29f /mbbsd/bbs.c
parent05fec6c1ab3c9701cb029b352b441c7e5294335c (diff)
downloadpttbbs-0482f7a736cf7d13ace4d8222efae333a3cfd61f.tar
pttbbs-0482f7a736cf7d13ace4d8222efae333a3cfd61f.tar.gz
pttbbs-0482f7a736cf7d13ace4d8222efae333a3cfd61f.tar.bz2
pttbbs-0482f7a736cf7d13ace4d8222efae333a3cfd61f.tar.lz
pttbbs-0482f7a736cf7d13ace4d8222efae333a3cfd61f.tar.xz
pttbbs-0482f7a736cf7d13ace4d8222efae333a3cfd61f.tar.zst
pttbbs-0482f7a736cf7d13ace4d8222efae333a3cfd61f.zip
wrong codition
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 160e499c..07ba91e1 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1259,7 +1259,7 @@ stop_gamble()
boardheader_t *bp = getbcache(currbid);
char fn_ticket[128], fn_ticket_end[128];
if (!bp->endgamble || bp->endgamble > now)
- return 1;
+ return 0;
setbfile(fn_ticket, currboard, FN_TICKET);
setbfile(fn_ticket_end, currboard, FN_TICKET_END);
@@ -1269,7 +1269,7 @@ stop_gamble()
bp->endgamble = 0;
substitute_record(fn_board, bp, sizeof(boardheader_t), currbid);
}
- return 0;
+ return 1;
}
static int
join_gamble(int ent, fileheader_t * fhdr, char *direct)