]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/geoip.rb
geoip: make the GeoIP module a standalone
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / geoip.rb
index 6cf0d993238e02d83c8eb5568ba1366ea411b717..615511728df524469571276977a16965ac1579f7 100755 (executable)
@@ -9,7 +9,7 @@
 #
 # Resolves the geographic locations of users (network-wide) and IP addresses
 
-module GeoIP
+module ::GeoIP
   class InvalidHostError < RuntimeError; end
 
   GEO_IP_PRIMARY   = "http://lakka.kapsi.fi:40086/lookup.yaml?host="