From 9a81b923e6748086f468ff255a4fe1d9ba892ec1 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 10 Jan 2011 19:28:17 +0100 Subject: [PATCH] Do not automatically reconnect. Ever --- src/connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/connection.py b/src/connection.py index 0373c4e7..dc2eeaae 100644 --- a/src/connection.py +++ b/src/connection.py @@ -49,6 +49,7 @@ class Connection(sleekxmpp.ClientXMPP): jid = '%s/%s' % (config.get('server', 'anon.louiz.org'), resource) password = None sleekxmpp.ClientXMPP.__init__(self, jid, password, ssl=True) + self.auto_reconnect = False self.register_plugin('xep_0030') self.register_plugin('xep_0045') if config.get('send_poezio_info', 'true') == 'true':