diff options
author | Raine Virta <rane@kapsi.fi> | 2008-08-13 16:00:55 +0300 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-13 15:00:15 +0200 |
commit | 6099c7c358e3fdd6ff5299e280dc72688b3204b9 (patch) | |
tree | 10e0934a54e1946002da6dcbd21f30f6755eeab5 /data/rbot/plugins/geoip.rb | |
parent | 87c4514e5fbe9eeea139a4bb7250755570f9adcb (diff) |
geoip plugin: had to change host name of the new lookup server
Diffstat (limited to 'data/rbot/plugins/geoip.rb')
-rwxr-xr-x | data/rbot/plugins/geoip.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |