summaryrefslogtreecommitdiffstats
path: root/mbbsd/chc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/chc.c')
-rw-r--r--mbbsd/chc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c
index 42abbe22..1fad931a 100644
--- a/mbbsd/chc.c
+++ b/mbbsd/chc.c
@@ -1015,6 +1015,9 @@ chc_watch(void)
if (uin->uid == currutmp->uid || uin->mode != CHC)
return -1;
+ if (getans("是否進行觀棋? [N/y]") != 'y')
+ return 0;
+
if ((sock = make_connection_to_somebody(uin, 10)) < 0) {
vmsg("無法建立連線");
return -1;