sprintf(buf, "whisper %s\n", mess); // WHISPER box uses "whisper" to send\r
else {\r
if(!atoi(chatPartner[partner])) {\r
- sprintf(buf, "> %s\n", mess); // echo only tells to handle, not channel\r
+ sprintf(buf, "> %s\r\n", mess); // echo only tells to handle, not channel\r
InsertIntoMemo(hDlg, buf);\r
sprintf(buf, "xtell %s %s\n", chatPartner[partner], mess);\r
} else\r
{\r
if(!chatHandle[partner]) return;\r
\r
+ int n = strlen(text);\r
+ text[n+1] = 0; text[n] = '\n'; text[n-1] = '\r'; // Needs CR to not lose line breaks on copy-paste\r
InsertIntoMemo(chatHandle[partner], text);\r
}\r