From 340d1aae8d6411b5a4caabce8d1ba9ad584c6936 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 9 Feb 2004 15:44:41 +0000 Subject: [PATCH] Fixed bug #893247. --- plugins/Sourceforge.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/Sourceforge.py b/plugins/Sourceforge.py index 235594a6e..f8f096d09 100644 --- a/plugins/Sourceforge.py +++ b/plugins/Sourceforge.py @@ -83,11 +83,16 @@ def configure(advanced): "sourceforge". We like to make it "sf".""") if yn('Would you like to add sf as an alias for Sourceforge?', default=True): - if not conf.supybot.plugins.Alias(): + hasAlias = False + for (name, _) in conf.supybot.plugins.getValues(fullNames=False): + if name == 'Alias': + hasAlias = True + if not hasAlias: output('This depends on the Alias module.') if yn('Would you like to load the Alias plugin now?', default=True): conf.registerPlugin('Alias', True) + conf.registerGroup(conf.supybot.plugins.Alias, 'aliases') else: output('Then I can\'t add such an alias.') return