mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Bug in removing channels from supybot.channels.
This commit is contained in:
parent
73af1f2a8d
commit
79bb9029ef
@ -275,7 +275,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
L = []
|
L = []
|
||||||
for channelWithPass in conf.supybot.channels():
|
for channelWithPass in conf.supybot.channels():
|
||||||
channel = channelWithPass.split(',')[0]
|
channel = channelWithPass.split(',')[0]
|
||||||
if chan == channel:
|
if ircutils.strEqual(chan, channel):
|
||||||
L.append(channelWithPass)
|
L.append(channelWithPass)
|
||||||
# This is necessary so the set doesn't change size while iterating.
|
# This is necessary so the set doesn't change size while iterating.
|
||||||
for channel in L:
|
for channel in L:
|
||||||
|
Loading…
Reference in New Issue
Block a user