1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 15:33:38 +01:00

Revert "Minor code review"

This reverts commit 76e035989f.
This commit is contained in:
Raymond Hill 2024-09-20 17:52:31 -04:00
parent 76e035989f
commit f84b3e4ce9
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.ip === '0.0.0.0' && details.proxyInfo?.proxyDNS ) {
if ( details.proxyInfo?.proxyDNS && details.ip === '0.0.0.0' ) {
details.ip = null;
}
const type = details.type;