1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-25 03:43:25 +01:00

Minor code review

This commit is contained in:
Raymond Hill 2024-09-20 11:40:03 -04:00
parent 37da838255
commit 76e035989f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -99,7 +99,7 @@ vAPI.Net = class extends vAPI.Net {
normalizeDetails(details) {
// https://github.com/uBlockOrigin/uBlock-issues/issues/3379
if ( details.proxyInfo?.proxyDNS && details.ip === '0.0.0.0' ) {
if ( details.ip === '0.0.0.0' && details.proxyInfo?.proxyDNS ) {
details.ip = null;
}
const type = details.type;