summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-22 19:57:42 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-22 19:57:42 +0800
commitdd061d2c4c0f3f0a5ff7a20587ef3831157fb49d (patch)
tree9d59d16294fb33c276ce305cd628f705b88ef125 /mbbsd/talk.c
parent71202dcbdd8dc68a7ba663880b649020ac8aa53b (diff)
downloadpttbbs-dd061d2c4c0f3f0a5ff7a20587ef3831157fb49d.tar
pttbbs-dd061d2c4c0f3f0a5ff7a20587ef3831157fb49d.tar.gz
pttbbs-dd061d2c4c0f3f0a5ff7a20587ef3831157fb49d.tar.bz2
pttbbs-dd061d2c4c0f3f0a5ff7a20587ef3831157fb49d.tar.lz
pttbbs-dd061d2c4c0f3f0a5ff7a20587ef3831157fb49d.tar.xz
pttbbs-dd061d2c4c0f3f0a5ff7a20587ef3831157fb49d.tar.zst
pttbbs-dd061d2c4c0f3f0a5ff7a20587ef3831157fb49d.zip
prepare for connect6
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3204 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 503eac7a..b86a471b 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -137,7 +137,7 @@ modestring(const userinfo_t * uentp, int simple)
return word;
else if (uentp->in_chat && mode == CHATING)
snprintf(modestr, sizeof(modestr), "%s (%s)", word, uentp->chatid);
- else if (mode == TALK || mode == M_FIVE || mode == CHC || mode == GO
+ else if (mode == TALK || mode == M_FIVE || mode == CHC || mode == UMODE_GO
|| mode == DARK) {
if (!isvisible_uid(uentp->destuid)) /* Leeym 對方(紫色)隱形 */
snprintf(modestr, sizeof(modestr), "%s 空氣", word);
@@ -1492,10 +1492,10 @@ 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 == CHESSWATCHING ||
+ ch == DARK || ch == UMODE_GO || ch == CHESSWATCHING ||
(!ch && (uin->chatid[0] == 1 || uin->chatid[0] == 3)) ||
uin->lockmode == M_FIVE || uin->lockmode == CHC) {
- if (ch == CHC || ch == M_FIVE || ch == GO || ch == CHESSWATCHING) {
+ if (ch == CHC || ch == M_FIVE || ch == UMODE_GO || ch == CHESSWATCHING) {
sock = make_connection_to_somebody(uin, 20);
if (sock < 0)
vmsg("無法建立連線");