lib/irc: fix assignment to undefined variable in isURIPrefix

This commit is contained in:
Simon Ser 2024-03-07 23:04:40 +01:00
parent 57f7b1c011
commit 2fe2ce6912

View File

@ -285,7 +285,7 @@ function isURIPrefix(text) {
} }
} }
i = text.indexOf("://"); let i = text.indexOf("://");
if (i <= 0) { if (i <= 0) {
return false; return false;
} }