Fix for bug #820810: Don't ask to load Alias if Alias is already loaded.

This commit is contained in:
Jeremy Fincher 2003-10-10 03:17:24 +00:00
parent 5d24cbd20d
commit 2afb4ef965

View File

@ -65,8 +65,8 @@ def configure(onStart, afterConnect, advanced):
if key:
onStart.append('load Google')
onStart.append('googlelicensekey %s' % key)
if yn('Google depends on the Alias module for some commands. ' \
'Is the Alias module loaded?') == 'n':
if 'load Alias' not in onStart:
print 'Google depends on the Alias module for some commands.'
if yn('Would you like to load the Alias module now?') == 'y':
onStart.append('load Alias')
else: