go offline when we close a plugin

This commit is contained in:
Yann Leboulanger 2004-04-26 01:06:20 +00:00
parent d1eebe9057
commit 4ceafceede
1 changed files with 4 additions and 4 deletions

View File

@ -247,10 +247,10 @@ class GajimCore:
con = None con = None
#('QUIT', account, ()) #('QUIT', account, ())
if ev[0] == 'QUIT': if ev[0] == 'QUIT':
# for con in self.connexions.keys(): for con in self.connexions.keys():
# if self.connected[a] == 1: if self.connected[self.connexions[con]] == 1:
# self.connected[a] = 0 self.connected[self.connexions[con]] = 0
# con.disconnect() con.disconnect()
self.hub.sendPlugin('QUIT', None, ()) self.hub.sendPlugin('QUIT', None, ())
return return
#('ASK_CONFIG', account, (who_ask, section, default_config)) #('ASK_CONFIG', account, (who_ask, section, default_config))