changeset ec23fdfcbcd2 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=ec23fdfcbcd2 description: do not crash when authentication with server fails. Fixes #8115
diffstat:
src/common/connection.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 48bf7f9c7861 -r ec23fdfcbcd2 src/common/connection.py --- a/src/common/connection.py Sun Jul 26 14:25:21 2015 +0200 +++ b/src/common/connection.py Mon Jul 27 13:36:49 2015 +0200 @@ -1512,7 +1512,7 @@ if self.on_connect_auth: self.on_connect_auth(None) self.on_connect_auth = None - return + return if not self.connected: # We went offline during connecting process if self.on_connect_auth: self.on_connect_auth(None)