Paul Klumpp 12 lat temu
rodzic
commit
61cb66aac0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      em_server.rb

+ 1 - 1
em_server.rb

@@ -849,7 +849,7 @@ module CentralProtocolHandler
               # find country code
               cc = GeoIP.new('GeoIP.dat').country(iphost)[3].to_s.downcase
 
-              rest.prepend " #{cc}" unless cc.nil? || cc.empty? || targetname =~ /#{cc}$/
+              rest.prepend " #{cc}" unless cc.nil? || cc.empty? || targetname =~ /\.#{cc}$/
 
             end # if ip is x.x.x.x