Bladeren bron

dot missing

Paul Klumpp 11 jaren geleden
bovenliggende
commit
61cb66aac0
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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