From 73af1f2a8d5d2a09a072547079045c406605206d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 28 Jul 2004 03:27:35 +0000 Subject: [PATCH] Bug in removing channels from supybot.channels. --- src/Admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Admin.py b/src/Admin.py index d9bc4f34b..28b68ad48 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 arg == channel: + if chan == channel: L.append(channelWithPass) # This is necessary so the set doesn't change size while iterating. for channel in L: