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
path: root/core
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2004-04-26 05:06:20 +0400
committerYann Leboulanger <asterix@lagaule.org>2004-04-26 05:06:20 +0400
commit4ceafceede299d77acb097331d4379fd08048c8c (patch)
treeb5cf97d57dca80aec241a2987f05d410203d0645 /core
parentd1eebe90574fa24521e4d051aa8978efc20e510d (diff)
go offline when we close a plugin
Diffstat (limited to 'core')
-rw-r--r--core/core.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/core.py b/core/core.py
index 45bf166be..26fda2fbb 100644
--- a/core/core.py
+++ b/core/core.py
@@ -247,10 +247,10 @@ class GajimCore:
con = None
#('QUIT', account, ())
if ev[0] == 'QUIT':
-# for con in self.connexions.keys():
-# if self.connected[a] == 1:
-# self.connected[a] = 0
-# con.disconnect()
+ for con in self.connexions.keys():
+ if self.connected[self.connexions[con]] == 1:
+ self.connected[self.connexions[con]] = 0
+ con.disconnect()
self.hub.sendPlugin('QUIT', None, ())
return
#('ASK_CONFIG', account, (who_ask, section, default_config))