diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 06:32:02 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 06:32:02 +0200 |
commit | 570f37674434c7f3816e3949967c31407610da6c (patch) | |
tree | 2175692750df20384073da4a6b26ef013f1d843b /module/plugins/hooks/IRCInterface.py | |
parent | New plugin: LogMarker (diff) | |
download | pyload-570f37674434c7f3816e3949967c31407610da6c.tar.xz |
Spare improvements
Diffstat (limited to 'module/plugins/hooks/IRCInterface.py')
-rw-r--r-- | module/plugins/hooks/IRCInterface.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py index a3d538272..16640df0b 100644 --- a/module/plugins/hooks/IRCInterface.py +++ b/module/plugins/hooks/IRCInterface.py @@ -21,7 +21,8 @@ class IRCInterface(Thread, Addon): __version__ = "0.17" __status__ = "testing" - __config__ = [("host" , "str" , "IRC-Server Address" , "Enter your server here!"), + __config__ = [("activated", "bool", "Activated" , False ), + ("host" , "str" , "IRC-Server Address" , "Enter your server here!"), ("port" , "int" , "IRC-Server Port" , 6667 ), ("ident" , "str" , "Clients ident" , "pyload-irc" ), ("realname" , "str" , "Realname" , "pyload-irc" ), @@ -37,9 +38,9 @@ class IRCInterface(Thread, Addon): __authors__ = [("Jeix", "Jeix@hasnomail.com")] - def __init__(self, core, manager): + def __init__(self, *args, **kwargs): Thread.__init__(self) - Addon.__init__(self, core, manager) + Addon.__init__(self, *args, **kwargs) self.setDaemon(True) |