From: Raine Virta Date: Wed, 13 Aug 2008 13:00:55 +0000 (+0300) Subject: geoip plugin: had to change host name of the new lookup server X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=6099c7c358e3fdd6ff5299e280dc72688b3204b9;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git geoip plugin: had to change host name of the new lookup server --- diff --git a/data/rbot/plugins/geoip.rb b/data/rbot/plugins/geoip.rb index f5944256..5f52d04b 100755 --- a/data/rbot/plugins/geoip.rb +++ b/data/rbot/plugins/geoip.rb @@ -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