diff options
Diffstat (limited to 'module/plugins/hooks/XMPPInterface.py')
-rw-r--r-- | module/plugins/hooks/XMPPInterface.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hooks/XMPPInterface.py b/module/plugins/hooks/XMPPInterface.py index f6e7020cd..811e2f5f4 100644 --- a/module/plugins/hooks/XMPPInterface.py +++ b/module/plugins/hooks/XMPPInterface.py @@ -15,7 +15,8 @@ class XMPPInterface(IRCInterface, JabberClient): __version__ = "0.13" __status__ = "testing" - __config__ = [("jid" , "str" , "Jabber ID" , "user@exmaple-jabber-server.org" ), + __config__ = [("activated", "bool", "Activated" , False ), + ("jid" , "str" , "Jabber ID" , "user@exmaple-jabber-server.org" ), ("pw" , "str" , "Password" , "" ), ("tls" , "bool", "Use TLS" , False ), ("owners" , "str" , "List of JIDs accepting commands from", "me@icq-gateway.org;some@msn-gateway.org"), @@ -31,8 +32,8 @@ class XMPPInterface(IRCInterface, JabberClient): implements(IMessageHandlersProvider) - def __init__(self, core, manager): - IRCInterface.__init__(self, core, manager) + def __init__(self, *args, **kwargs): + IRCInterface.__init__(self, *args, **kwargs) self.jid = JID(self.get_config('jid')) password = self.get_config('pw') |