diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2004-03-28 18:30:49 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2004-03-28 18:30:49 +0400 |
commit | 80a65a26601e1715159e76de2411186c28e19a4e (patch) | |
tree | 8ed7e303b402ab2affacad5cd1b18355865e2a4b | |
parent | ef2affaaac2fcc52eedf93bbefaed641d68a45c3 (diff) |
bugfix : when we go online -> offline : delete conexion
-rw-r--r-- | core/core.py | 1 |
1 files changed, 1 insertions, 0 deletions
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() |