nicks[account] already has a default value

This commit is contained in:
Yann Leboulanger 2005-06-30 06:16:32 +00:00
parent 2db9bfb9ce
commit b2990a7bdf
1 changed files with 2 additions and 3 deletions

View File

@ -506,9 +506,8 @@ class Interface:
nick = ''
if array.has_key('NICKNAME'):
nick = array['NICKNAME']
if nick == '':
nick = gajim.config.get_per('accounts', account, 'name')
self.nicks[account] = nick
if nick:
self.nicks[account] = nick
def handle_event_vcard(self, account, array):
win = None