mirror of
https://codeberg.org/emersion/gamja
synced 2025-04-22 01:23:56 +02:00
lib/irc: remove stray hardcoded constant
This commit is contained in:
parent
1c5dc652a9
commit
2c0f2a80e9
@ -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 || "+"] });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user