little bugfix : when we add an account, update self.connected in the Core

This commit is contained in:
Yann Leboulanger 2004-03-24 01:39:14 +00:00
parent 9f50a404c1
commit 55b00d993a
1 changed files with 2 additions and 0 deletions

View File

@ -272,6 +272,8 @@ class GajimCore:
string.join(accts)
for a in accts:
self.cfgParser.tab[a] = ev[2][1][a]
if not a in self.connected.keys():
self.connected[a]= 0
else:
self.cfgParser.tab[ev[2][0]] = ev[2][1]
self.cfgParser.writeCfgFile()