mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +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".""")
|
"sourceforge". We like to make it "sf".""")
|
||||||
if yn('Would you like to add sf as an alias for Sourceforge?',
|
if yn('Would you like to add sf as an alias for Sourceforge?',
|
||||||
default=True):
|
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.')
|
output('This depends on the Alias module.')
|
||||||
if yn('Would you like to load the Alias plugin now?',
|
if yn('Would you like to load the Alias plugin now?',
|
||||||
default=True):
|
default=True):
|
||||||
conf.registerPlugin('Alias', True)
|
conf.registerPlugin('Alias', True)
|
||||||
|
conf.registerGroup(conf.supybot.plugins.Alias, 'aliases')
|
||||||
else:
|
else:
|
||||||
output('Then I can\'t add such an alias.')
|
output('Then I can\'t add such an alias.')
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user