Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2004-03-28 18:30:49 +0400
committerYann Leboulanger <asterix@lagaule.org>2004-03-28 18:30:49 +0400
commit80a65a26601e1715159e76de2411186c28e19a4e (patch)
tree8ed7e303b402ab2affacad5cd1b18355865e2a4b
parentef2affaaac2fcc52eedf93bbefaed641d68a45c3 (diff)
bugfix : when we go online -> offline : delete conexion
-rw-r--r--core/core.py1
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()