summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 21:25:15 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 21:25:15 +0800
commit07184306bd91f8f7112299dff6670ca7c6e01d2e (patch)
tree070ad2ac357193b9609b77a0fc18bf48647d05d7 /mbbsd
parent6ec05c329a03c8557835c2f4adcfaa4f0210c574 (diff)
downloadpttbbs-07184306bd91f8f7112299dff6670ca7c6e01d2e.tar
pttbbs-07184306bd91f8f7112299dff6670ca7c6e01d2e.tar.gz
pttbbs-07184306bd91f8f7112299dff6670ca7c6e01d2e.tar.bz2
pttbbs-07184306bd91f8f7112299dff6670ca7c6e01d2e.tar.lz
pttbbs-07184306bd91f8f7112299dff6670ca7c6e01d2e.tar.xz
pttbbs-07184306bd91f8f7112299dff6670ca7c6e01d2e.tar.zst
pttbbs-07184306bd91f8f7112299dff6670ca7c6e01d2e.zip
No talk/chess request allowed when watching Chinese chess.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index d92a7136..0604f444 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1371,7 +1371,7 @@ my_talk(userinfo_t * uin, int fri_stat, char defact)
if (ch == EDITING || ch == TALK || ch == CHATING || ch == PAGE ||
ch == MAILALL || ch == MONITOR || ch == M_FIVE || ch == CHC ||
- ch == DARK || ch == GO ||
+ ch == DARK || ch == GO || ch == CHESSWATCHING ||
(!ch && (uin->chatid[0] == 1 || uin->chatid[0] == 3)) ||
uin->lockmode == M_FIVE || uin->lockmode == CHC) {
if (ch == CHC) {