mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-02-16 02:59:44 -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
|
// last chunk is exactly 400 bytes long
|
||||||
let msgs = [];
|
let msgs = [];
|
||||||
for (let i = 0; i <= encoded.length; i += maxSASLLength) {
|
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 || "+"] });
|
msgs.push({ command: "AUTHENTICATE", params: [chunk || "+"] });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue