diff --git a/lib/irc.js b/lib/irc.js index d6d90c4..8a0eda7 100644 --- a/lib/irc.js +++ b/lib/irc.js @@ -285,7 +285,7 @@ function isURIPrefix(text) { } } - i = text.indexOf("://"); + let i = text.indexOf("://"); if (i <= 0) { return false; }