Merge 336d1e0eb477a1d19fae9dbd6724921b913d3136 into 31ff6f2c7243b00b79c52dbe653cefa7641f3545

This commit is contained in:
tobi o 2025-06-23 12:20:04 -07:00 committed by GitHub
commit 485fb02278
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;
} }