diff --git a/data/rules.json b/data/rules.json index 402030d..f9ec517 100644 --- a/data/rules.json +++ b/data/rules.json @@ -55,6 +55,7 @@ } ], "ipRanges": [ + {"from": "3.0.0.0", "to": "3.255.255.255", "isp": "Amazon Data Services", "loc":"us"}, {"from": "8.127.0.0", "to": "8.223.255.254", "isp": "Alibaba", "loc":"cn"}, {"from": "24.240.0.0", "to": "24.243.255.254", "isp": "Charter", "loc":"us"}, {"from": "27.106.0.0", "to": "27.106.127.254", "isp": "Huawei", "loc":"hk"}, diff --git a/script.js b/script.js index 2b0d9e1..f571429 100644 --- a/script.js +++ b/script.js @@ -598,11 +598,9 @@ BotMon.live = { for (const [n, arr] of Object.entries(me._ipRange)) { arr.forEach( (it, i) => { - if (it.count <= 1) console.log(it); //arr.splice(i-1, 1) + if (it.count <= 1) arr.splice(i, 1); }); - //console.log("New array:", arr); - }; } },