summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-14 12:43:47 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-14 12:43:47 +0800
commit1885c4f2e49d581baaf5f5dfd600287076dbd1f5 (patch)
treed9838e7a4cb331f3f495e672f00a619f6f495276 /mbbsd/talk.c
parent3ffb17c6a53f3f4761654cb32044ac55e528546d (diff)
downloadpttbbs-1885c4f2e49d581baaf5f5dfd600287076dbd1f5.tar
pttbbs-1885c4f2e49d581baaf5f5dfd600287076dbd1f5.tar.gz
pttbbs-1885c4f2e49d581baaf5f5dfd600287076dbd1f5.tar.bz2
pttbbs-1885c4f2e49d581baaf5f5dfd600287076dbd1f5.tar.lz
pttbbs-1885c4f2e49d581baaf5f5dfd600287076dbd1f5.tar.xz
pttbbs-1885c4f2e49d581baaf5f5dfd600287076dbd1f5.tar.zst
pttbbs-1885c4f2e49d581baaf5f5dfd600287076dbd1f5.zip
add mode CHESSWATCHING
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1239 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 9633570d..c3a9399b 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -137,6 +137,8 @@ modestring(userinfo_t * uentp, int simple)
snprintf(modestr, sizeof(modestr), "%s", "五子棋 空氣");
else
snprintf(modestr, sizeof(modestr), "%s %s", word, getuserid(uentp->destuid));
+ } else if (mode == CHESSWATCHING) {
+ snprintf(modestr, sizeof(modestr), "觀棋");
} else if (mode == CHC) {
if (isvisible_uid(uentp->destuid))
snprintf(modestr, sizeof(modestr), "%s", "下象棋");