From 585dbd5f9edbf64775568e3f986e63969d15f912 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 22 Nov 2009 12:29:47 -0800 Subject: [PATCH] use xtell for talking to handles, but tell for talking into a channel. by changing the chatboxes to use xtell in stead of tell, we broke the possibility to use the chat-box for chatting into a channel (which is apparently not possible with xtell). --- winboard/wchat.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/winboard/wchat.c b/winboard/wchat.c index 4b7edbc..fbf3e15 100644 --- a/winboard/wchat.c +++ b/winboard/wchat.c @@ -180,8 +180,9 @@ LRESULT CALLBACK ChatProc( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam if(!atoi(chatPartner[partner])) { sprintf(buf, "> %s\n", mess); // echo only tells to handle, not channel InsertIntoMemo(hDlg, buf); - } sprintf(buf, "xtell %s %s\n", chatPartner[partner], mess); + } else + sprintf(buf, "tell %s %s\n", chatPartner[partner], mess); } SendToICS(buf); break; -- 1.7.0.4