summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-22 15:38:20 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-22 15:38:20 +0800
commit12e29a6f41d648f9eb6247731e87727653752216 (patch)
treee4a3bfe6b4406b03eddc173dd56fed74c698d7ba
parenta988eea0f5039637005758d4e806ba6001845ec0 (diff)
downloadpttbbs-12e29a6f41d648f9eb6247731e87727653752216.tar
pttbbs-12e29a6f41d648f9eb6247731e87727653752216.tar.gz
pttbbs-12e29a6f41d648f9eb6247731e87727653752216.tar.bz2
pttbbs-12e29a6f41d648f9eb6247731e87727653752216.tar.lz
pttbbs-12e29a6f41d648f9eb6247731e87727653752216.tar.xz
pttbbs-12e29a6f41d648f9eb6247731e87727653752216.tar.zst
pttbbs-12e29a6f41d648f9eb6247731e87727653752216.zip
fix last commit bug
git-svn-id: http://opensvn.csie.org/pttbbs/branches/victor.bank@1123 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/chc_play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/chc_play.c b/pttbbs/mbbsd/chc_play.c
index 9f8a5f90..d6a714cf 100644
--- a/pttbbs/mbbsd/chc_play.c
+++ b/pttbbs/mbbsd/chc_play.c
@@ -304,7 +304,7 @@ chc(int s, int type)
chc_userinit(cuser.userid, currutmp->mateid, &user1, &user2, play_func);
chc_init(s, &user1, &user2, board);
mainloop(s, &user1, &user2, board, play_func);
- if (type != CHC_VERSUS)
+ if (type == CHC_VERSUS)
close(s);
add_io(0, 0);
if (chc_my)