瀏覽代碼

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