]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit
geoip: make the GeoIP module a standalone
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 10 Feb 2009 00:19:03 +0000 (01:19 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 10 Feb 2009 00:19:03 +0000 (01:19 +0100)
commit7324b329dee26fd429033f85c1ec06e799b07994
tree6ddb9e4dfb19ec342b5e4e774646e08bd80c1c25
parent5aa8e259191ffc0551dd77b67a77e34c8bd8aa42
geoip: make the GeoIP module a standalone

The geoip plugin defines and makes use of a GeoIP module to handle the
actual geoip data retrieval. The module used to be defined in the same
namespace as the plugin, and therefore in a barely accessible anonymous
module.

Move the GeoIP module to the outermost namespace to allow it to be
accessible from scripts and plugins too.
data/rbot/plugins/geoip.rb