Kaynağa Gözat

[Minor] Skip ASN checks for local IPs

tags/1.7.7
Vsevolod Stakhov 6 yıl önce
ebeveyn
işleme
71a419f1ba
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      src/plugins/lua/asn.lua

+ 1
- 1
src/plugins/lua/asn.lua Dosyayı Görüntüle

@@ -78,7 +78,7 @@ local function asn_check(task)
end

local ip = task:get_from_ip()
if not (ip and ip:is_valid()) then return end
if not (ip and ip:is_valid()) or ip:is_local() then return end
asn_check_func[options['provider_type']](ip)
end


Loading…
İptal
Kaydet