From dd2b7e138f99ea83c9fa26a8b6e0b3524d8fb814 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 2 Oct 2015 11:00:37 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1780 --- module/plugins/hooks/XMPPInterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hooks/XMPPInterface.py') diff --git a/module/plugins/hooks/XMPPInterface.py b/module/plugins/hooks/XMPPInterface.py index 77e20cdd4..0f8fb377f 100644 --- a/module/plugins/hooks/XMPPInterface.py +++ b/module/plugins/hooks/XMPPInterface.py @@ -12,7 +12,7 @@ from module.plugins.hooks.IRCInterface import IRCInterface class XMPPInterface(IRCInterface, JabberClient): __name__ = "XMPPInterface" __type__ = "hook" - __version__ = "0.12" + __version__ = "0.13" __status__ = "testing" __config__ = [("jid" , "str" , "Jabber ID" , "user@exmaple-jabber-server.org" ), @@ -218,7 +218,7 @@ class XMPPInterface(IRCInterface, JabberClient): self.disconnect() - def after_reconnect(self, ip): + def after_reconnect(self, ip, oldip): self.connect() -- cgit v1.2.3