Merge 336d1e0eb477a1d19fae9dbd6724921b913d3136 into 0c0da6d91bb6cab304cc1e08ff4d3f5bef0cc934

This commit is contained in:
tobi o 2025-09-02 02:04:05 -07:00 committed by GitHub
commit ae46f612b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,11 +57,11 @@ public:
dbgTrace(D_GEO_FILTER) << "Check if country code: " << _country_code << " is allowed"; dbgTrace(D_GEO_FILTER) << "Check if country code: " << _country_code << " is allowed";
for (const GeoFilterCountry &country : allowed_countries) { for (const GeoFilterCountry &country : allowed_countries) {
if (country.getCountryCode() == _country_code) { if (country.getCountryCode() == _country_code) {
dbgTrace(D_GEO_FILTER) << "County code: " << _country_code << " is allowed"; dbgTrace(D_GEO_FILTER) << "Country code: " << _country_code << " is allowed";
return true; return true;
} }
} }
dbgTrace(D_GEO_FILTER) << "County code: " << _country_code << " not in allowed countries list"; dbgTrace(D_GEO_FILTER) << "Country code: " << _country_code << " not in allowed countries list";
return false; return false;
} }
@ -71,11 +71,11 @@ public:
dbgTrace(D_GEO_FILTER) << "Check if country code: " << _country_code << " is blocked"; dbgTrace(D_GEO_FILTER) << "Check if country code: " << _country_code << " is blocked";
for (const GeoFilterCountry &country : blocked_countries) { for (const GeoFilterCountry &country : blocked_countries) {
if (country.getCountryCode() == _country_code) { if (country.getCountryCode() == _country_code) {
dbgTrace(D_GEO_FILTER) << "County code: " << _country_code << " is blocked"; dbgTrace(D_GEO_FILTER) << "Country code: " << _country_code << " is blocked";
return true; return true;
} }
} }
dbgTrace(D_GEO_FILTER) << "County code: " << _country_code << " not in blocked countries list"; dbgTrace(D_GEO_FILTER) << "Country code: " << _country_code << " not in blocked countries list";
return false; return false;
} }