mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-15 00:47:46 +01:00
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:
parent
f78cb8c23b
commit
0b0467f019
@ -226,7 +226,6 @@ export function formatMessage(msg) {
|
|||||||
s += " " + last;
|
s += " " + last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
s += "\r\n";
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user