0/False 1/True

This commit is contained in:
Nikos Kouremenos 2005-07-22 11:07:52 +00:00
parent dfc7638cf5
commit ef3b60a586
1 changed files with 2 additions and 2 deletions

View File

@ -723,10 +723,10 @@ class Interface:
def autoconnect(self): def autoconnect(self):
'''auto connect at startup''' '''auto connect at startup'''
ask_message = 0 ask_message = False
for a in gajim.connections: for a in gajim.connections:
if gajim.config.get_per('accounts', a, 'autoconnect'): if gajim.config.get_per('accounts', a, 'autoconnect'):
ask_message = 1 ask_message = True
break break
if ask_message: if ask_message:
message = self.roster.get_status_message('online') message = self.roster.get_status_message('online')