]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
geoip plugin: had to change host name of the new lookup server
authorRaine Virta <rane@kapsi.fi>
Wed, 13 Aug 2008 13:00:55 +0000 (16:00 +0300)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 13 Aug 2008 13:00:15 +0000 (15:00 +0200)
data/rbot/plugins/geoip.rb

index f5944256c49409ab98da6b7f4b42286667ff77b3..5f52d04b5f9ee12834b0605a1971162bc518fd83 100755 (executable)
@@ -12,7 +12,7 @@
 module GeoIP
   class InvalidHostError < RuntimeError; end
 
-  GEO_IP_PRIMARY   = "http://kapsi.fi:40086/lookup.yaml?host="
+  GEO_IP_PRIMARY   = "http://lakka.kapsi.fi:40086/lookup.yaml?host="
   GEO_IP_SECONDARY = "http://www.geoiptool.com/en/?IP="
   HOST_NAME_REGEX  = /[a-z0-9\-]+(?:\.[a-z0-9\-]+)*\.[a-z]{2,4}/i