mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed bug #893247.
This commit is contained in:
parent
86eb377442
commit
340d1aae8d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user