mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-24 08:18:00 -05:00
lib/irc: remove stray hardcoded constant
This commit is contained in:
parent
1c5dc652a9
commit
2c0f2a80e9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue