Archived
1
0
This commit is contained in:
Jeff Becker 2019-02-10 14:28:25 -05:00
parent 54b8df91d4
commit fe68932c7b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -22,9 +22,9 @@ var nntpchan_mod_decode_ipban = function(longhash) {
var lines = elem.innerText.split("\n");
for(var i = 0; i < lines.length; ++i)
{
if (!lines[idx].startsWith("overchan-inet-ban"))
if (!lines[i].startsWith("overchan-inet-ban"))
continue;
var parts = lines[idx].split(" ");
var parts = lines[i].split(" ");
if(parts.length != 2) continue;
parts = parts[1].split(":");
if(parts.legngth < 2) continue;