mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-03 00:32:43 +01:00
This makes channelSpecific *much* more useful, aka not broken. Closes Bug #1100919
This commit is contained in:
parent
59c4dab684
commit
c6b50e75f0
@ -805,9 +805,9 @@ class ChannelSpecific(registry.Boolean):
|
||||
return False
|
||||
lchannel = channel
|
||||
while hasLinkChannel(lchannel):
|
||||
lchannel = get(channelSpecific.link, lchannel)
|
||||
if lchannel not in channels:
|
||||
channels.append(lchannel)
|
||||
lchannel = get(channelSpecific.link, lchannel)
|
||||
else:
|
||||
# Found a cyclic link. We'll just use the current channel
|
||||
lchannel = channel
|
||||
|
Loading…
Reference in New Issue
Block a user