mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-26 04:51:09 -05:00
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
###
|
|
# by SpiderDave
|
|
###
|
|
|
|
"""
|
|
Plugin to Geoloacate an IP
|
|
"""
|
|
|
|
import supybot
|
|
import supybot.world as world
|
|
import importlib
|
|
|
|
# Use this for the version of this plugin. You may wish to put a CVS keyword
|
|
# in here if you're keeping the plugin in CVS or some similar system.
|
|
__version__ = ""
|
|
|
|
__author__ = supybot.Author('SpiderDave', 'SpiderDave', '')
|
|
__maintainer__ = getattr(supybot.authors, 'oddluck',
|
|
supybot.Author('oddluck', 'oddluck', 'oddluck@riseup.net'))
|
|
|
|
# This is a dictionary mapping supybot.Author instances to lists of
|
|
# contributions.
|
|
__contributors__ = {}
|
|
|
|
# This is a url where the most recent plugin package can be downloaded.
|
|
__url__ = 'https://github.com/oddluck/limnoria-plugins/'
|
|
|
|
from . import config
|
|
from . import plugin
|
|
from imp import reload
|
|
importlib.reload(config)
|
|
importlib.reload(plugin) # In case we're being reloaded.
|
|
# Add more reloads here if you add third-party modules and want them to be
|
|
# reloaded when this plugin is reloaded. Don't forget to import them as well!
|
|
|
|
if world.testing:
|
|
from . import test
|
|
|
|
Class = plugin.Class
|
|
configure = config.configure
|
|
|
|
|
|
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|