Do not automatically reconnect. Ever

This commit is contained in:
Florent Le Coz 2011-01-10 19:28:17 +01:00
parent 63d2b8f06f
commit 9a81b923e6

View file

@ -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':