From 570f37674434c7f3816e3949967c31407610da6c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 8 Oct 2015 06:32:02 +0200 Subject: Spare improvements --- module/plugins/hooks/IRCInterface.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'module/plugins/hooks/IRCInterface.py') 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) -- cgit v1.2.3