lib/irc: remove stray hardcoded constant

This commit is contained in:
Simon Ser 2024-08-13 00:29:00 +02:00
parent 1c5dc652a9
commit 2c0f2a80e9

View file

@ -954,7 +954,7 @@ export function generateAuthenticateMessages(payload) {
// last chunk is exactly 400 bytes long
let msgs = [];
for (let i = 0; i <= encoded.length; i += maxSASLLength) {
let chunk = encoded.substring(i, i + 400);
let chunk = encoded.substring(i, i + maxSASLLength);
msgs.push({ command: "AUTHENTICATE", params: [chunk || "+"] });
}