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;