From 6f08071c3d347e1cb1549bf0ec94e94cc082020c Mon Sep 17 00:00:00 2001 From: pebosi Date: Wed, 31 Jan 2018 13:04:53 +0000 Subject: [PATCH] Fix typo to fix chat (#1791) --- app/models/chat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/chat.rb b/app/models/chat.rb index 7b92a0e57..e5bedd1c8 100644 --- a/app/models/chat.rb +++ b/app/models/chat.rb @@ -295,7 +295,7 @@ check if country is blocked for chat def blocked_country?(ip) return false if ip.blank? - retunn false if block_country.blank? + return false if block_country.blank? geo_ip = Service::GeoIp.location(ip) return false if geo_ip.blank? return false if geo_ip['country_code'].blank?