diff --git a/src/Admin.py b/src/Admin.py index 28b68ad48..7b3d33adb 100755 --- a/src/Admin.py +++ b/src/Admin.py @@ -275,7 +275,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg): L = [] for channelWithPass in conf.supybot.channels(): channel = channelWithPass.split(',')[0] - if chan == channel: + if ircutils.strEqual(chan, channel): L.append(channelWithPass) # This is necessary so the set doesn't change size while iterating. for channel in L: