diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-03 21:20:20 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-03 21:20:20 +0200 |
commit | f6e5359110f4bd5facc04a98f94acbc41b6e5228 (patch) | |
tree | 1f625724951c1b3a848f96c65708f437807f7190 /pyload/plugins/addon/IRCInterface.py | |
parent | [UpdateManager] Support new plugins structure (diff) | |
download | pyload-f6e5359110f4bd5facc04a98f94acbc41b6e5228.tar.xz |
Update pyload to the new plugins structure
Diffstat (limited to 'pyload/plugins/addon/IRCInterface.py')
-rw-r--r-- | pyload/plugins/addon/IRCInterface.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/plugins/addon/IRCInterface.py b/pyload/plugins/addon/IRCInterface.py index 04ae87b05..85175f4da 100644 --- a/pyload/plugins/addon/IRCInterface.py +++ b/pyload/plugins/addon/IRCInterface.py @@ -12,13 +12,13 @@ from traceback import print_exc from pyload.api import PackageDoesNotExists, FileDoesNotExists from pyload.network.RequestFactory import getURL -from pyload.plugins.base.Hook import Hook +from pyload.plugins.base.Addon import Addon from pyload.utils import formatSize -class IRCInterface(Thread, Hook): +class IRCInterface(Thread, Addon): __name__ = "IRCInterface" - __type__ = "hook" + __type__ = "addon" __version__ = "0.11" __config__ = [("activated", "bool", "Activated", False), @@ -39,7 +39,7 @@ class IRCInterface(Thread, Hook): def __init__(self, core, manager): Thread.__init__(self) - Hook.__init__(self, core, manager) + Addon.__init__(self, core, manager) self.setDaemon(True) # self.sm = core.server_methods self.api = core.api # todo, only use api |