소스 검색

nicer country code

Paul Klumpp 12 년 전
부모
커밋
4d426a2bf9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      em_server.rb

+ 1 - 1
em_server.rb

@@ -261,7 +261,7 @@ module InterconnectionPointProtocolHandler
             if iphost =~ /^\d+\.\d+\.\d+\.\d+/
               # find country code
               c = GeoIP.new('GeoIP.dat').country(iphost)[3].to_s.downcase
-              rest.prepend " (#{c})" unless c.nil?
+              rest.prepend " #{c}" unless c.nil?
 
               # resolve it to a dns name