67 lines
2.1 KiB
Python
67 lines
2.1 KiB
Python
###
|
|
# MIT License
|
|
#
|
|
# Copyright (c) [2021] [mogad0n]
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
# furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in all
|
|
# copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
# SOFTWARE.
|
|
###
|
|
|
|
|
|
"""
|
|
OraServ: An oragonoIRCd specific toolkit for IRCops
|
|
"""
|
|
|
|
import sys
|
|
import supybot
|
|
from supybot import world
|
|
|
|
# Use this for the version of this plugin.
|
|
__version__ = ""
|
|
|
|
# XXX Replace this with an appropriate author or supybot.Author instance.
|
|
__author__ = supybot.authors.unknown
|
|
|
|
# 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__ = ''
|
|
|
|
from . import config
|
|
from . import plugin
|
|
if sys.version_info >= (3, 4):
|
|
from importlib import reload
|
|
else:
|
|
from imp import reload
|
|
# In case we're being reloaded.
|
|
reload(config)
|
|
reload(plugin)
|
|
# 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 tabstop=4 expandtab textwidth=79:
|