Changeset 6099c7c358e3fdd6ff5299e280dc72688b3204b9

Show
Ignore:
Timestamp:
08/13/08 17:00:15 (3 months ago)
Author:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
git-committer:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1218632415 +0200
git-parent:

[87c4514e5fbe9eeea139a4bb7250755570f9adcb]

git-author:
Raine Virta <rane@kapsi.fi> 1218632455 +0300
Message:

geoip plugin: had to change host name of the new lookup server

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • data/rbot/plugins/geoip.rb

    r940264d r6099c7c  
    1313  class InvalidHostError < RuntimeError; end 
    1414 
    15   GEO_IP_PRIMARY   = "http://kapsi.fi:40086/lookup.yaml?host=" 
     15  GEO_IP_PRIMARY   = "http://lakka.kapsi.fi:40086/lookup.yaml?host=" 
    1616  GEO_IP_SECONDARY = "http://www.geoiptool.com/en/?IP=" 
    1717  HOST_NAME_REGEX  = /[a-z0-9\-]+(?:\.[a-z0-9\-]+)*\.[a-z]{2,4}/i