lib/irc: fix assignment to undefined variable in isURIPrefix
This commit is contained in:
+1
-1
@@ -285,7 +285,7 @@ function isURIPrefix(text) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
i = text.indexOf("://");
|
let i = text.indexOf("://");
|
||||||
if (i <= 0) {
|
if (i <= 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user