Wrong variable in join command.

This commit is contained in:
Jeremy Fincher 2003-04-11 07:10:21 +00:00
parent a576de04b1
commit 4d4bb3ad77

View File

@ -53,7 +53,7 @@ class AdminCommands(privmsgs.CapabilityCheckingPrivmsg):
""" """
keys = [] keys = []
channels = [] channels = []
for s in args: for channel in args:
if ',' in s: if ',' in s:
(channel, key) = s.split(',', 1) (channel, key) = s.split(',', 1)
channels.insert(0, channel) channels.insert(0, channel)