fix wrong var name

This commit is contained in:
Yann Leboulanger 2006-02-27 17:11:36 +00:00
parent 810a377156
commit c3eb026e9c
1 changed files with 2 additions and 3 deletions

View File

@ -1296,9 +1296,8 @@ class AccountModificationWindow:
('priority', 'proxy', 'usessl', 'keyname',
'use_custom_host', 'custom_host'))
if config.has_key('use_custom_port') and config['use_custom_port']:
if self.option_changed(config, 'custom_host') or\
self.option_changed(config, 'custom_port'):
if config['use_custom_host'] and (self.option_changed(config,
'custom_host') or self.option_changed(config, 'custom_port')):
relogin_needed = True
if relogin_needed: