Fix typo to fix chat (#1791)
This commit is contained in:
parent
789afc592a
commit
6f08071c3d
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ check if country is blocked for chat
|
||||||
|
|
||||||
def blocked_country?(ip)
|
def blocked_country?(ip)
|
||||||
return false if ip.blank?
|
return false if ip.blank?
|
||||||
retunn false if block_country.blank?
|
return false if block_country.blank?
|
||||||
geo_ip = Service::GeoIp.location(ip)
|
geo_ip = Service::GeoIp.location(ip)
|
||||||
return false if geo_ip.blank?
|
return false if geo_ip.blank?
|
||||||
return false if geo_ip['country_code'].blank?
|
return false if geo_ip['country_code'].blank?
|
||||||
|
|
Loading…
Reference in a new issue