From 2afb4ef9655eb73e7b91c78366082e425525cdf5 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 10 Oct 2003 03:17:24 +0000 Subject: [PATCH] Fix for bug #820810: Don't ask to load Alias if Alias is already loaded. --- plugins/Google.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Google.py b/plugins/Google.py index 121a2e545..1e05162dc 100644 --- a/plugins/Google.py +++ b/plugins/Google.py @@ -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: