X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwchat.c;h=fbf3e15d1a803d1845817a92ccdf1846e7cb1c40;hb=585dbd5f9edbf64775568e3f986e63969d15f912;hp=4b7edbcc0aac9e9c34ac1162761d3e227e34a376;hpb=3086238e38acd1656c4be07c2a4ca26e5ffdfdc9;p=xboard.git 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;