diff options
author | Simon Ser <contact@emersion.fr> | 2024-03-07 23:04:40 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-03-07 23:04:40 +0100 |
commit | 2fe2ce6912f89502e1f2cc4c21a80608c90e99fd (patch) | |
tree | 90cf9cc520f5bc7551927209819ec3bfe81a7c50 | |
parent | 57f7b1c0118d2cd02fda547451f8ab489b6a921f (diff) | |
download | gamja-2fe2ce6912f89502e1f2cc4c21a80608c90e99fd.tar.gz gamja-2fe2ce6912f89502e1f2cc4c21a80608c90e99fd.zip |
lib/irc: fix assignment to undefined variable in isURIPrefix
-rw-r--r-- | lib/irc.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -285,7 +285,7 @@ function isURIPrefix(text) { } } - i = text.indexOf("://"); + let i = text.indexOf("://"); if (i <= 0) { return false; } |