aboutsummaryrefslogtreecommitdiff
path: root/modules/geoip.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/geoip.py')
-rw-r--r--modules/geoip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/geoip.py b/modules/geoip.py
index bd874d76..0228daab 100644
--- a/modules/geoip.py
+++ b/modules/geoip.py
@@ -4,7 +4,7 @@ URL_GEOIP = "http://ip-api.com/json/%s"
class Module(object):
_name = "GeoIP"
- def __init__(self, bot, events):
+ def __init__(self, bot, events, exports):
events.on("received").on("command").on("geoip").hook(
self.geoip, min_args=1,
help="Get geoip data on a given IPv4/IPv6 address",