lib/irc: drop CRLF for outgoing messages

Trailing CRLF must not be included in WebSocket messages.

Closes: https://todo.sr.ht/~emersion/gamja/104
This commit is contained in:
Simon Ser 2021-09-18 12:16:54 +02:00
parent f78cb8c23b
commit 0b0467f019

View file

@ -226,7 +226,6 @@ export function formatMessage(msg) {
s += " " + last;
}
}
s += "\r\n";
return s;
}