Fix typo to fix chat (#1791)

This commit is contained in:
pebosi 2018-01-31 13:04:53 +00:00 committed by Martin Edenhofer
parent 789afc592a
commit 6f08071c3d

View file

@ -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?