summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/XMPPInterface.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-08 06:32:02 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-08 06:32:02 +0200
commit570f37674434c7f3816e3949967c31407610da6c (patch)
tree2175692750df20384073da4a6b26ef013f1d843b /module/plugins/hooks/XMPPInterface.py
parentNew plugin: LogMarker (diff)
downloadpyload-570f37674434c7f3816e3949967c31407610da6c.tar.xz
Spare improvements
Diffstat (limited to 'module/plugins/hooks/XMPPInterface.py')
-rw-r--r--module/plugins/hooks/XMPPInterface.py7
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')