From 80a65a26601e1715159e76de2411186c28e19a4e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 28 Mar 2004 14:30:49 +0000 Subject: [PATCH] bugfix : when we go online -> offline : delete conexion --- core/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core.py b/core/core.py index 1c1433932..3c4fc88eb 100644 --- a/core/core.py +++ b/core/core.py @@ -285,6 +285,7 @@ class GajimCore: elif (ev[2][0] == 'offline') and (self.connected[ev[1]] == 1): self.connected[ev[1]] = 0 con.disconnect() + del self.connexions[con] self.hub.sendPlugin('STATUS', ev[1], 'offline') if ev[2][0] != 'offline' and self.connected[ev[1]] == 1: p = common.jabber.Presence()