Browse Source

Fix typo to fix chat (#1791)

pebosi 7 years ago
parent
commit
6f08071c3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/chat.rb

+ 1 - 1
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?