diff sat/plugins/plugin_xep_0065.py @ 3132:b64dd7c1496d

plugin ip: fixed IP detection with external website
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 19:53:31 +0100
parents fee60f17ebac
children 9d0df638c8b4
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0065.py	Mon Jan 27 19:53:31 2020 +0100
+++ b/sat/plugins/plugin_xep_0065.py	Mon Jan 27 19:53:31 2020 +0100
@@ -1082,7 +1082,7 @@
         """
         log.info("Socks5 Bytestream: TimeOut reached")
         session = self.getSession(client, session_hash)
-        session[DEFER_KEY].errback(exceptions.TimeOutError)
+        session[DEFER_KEY].errback(exceptions.TimeOutError())
 
     def killSession(self, failure_, session_hash, sid, client):
         """Clean the current session