Another bug.

This commit is contained in:
Jeremy Fincher 2004-08-25 23:23:51 +00:00
parent 86b49eccb2
commit 23eb75f33b

View File

@ -365,7 +365,7 @@ class IrcState(IrcCommandDispatcher):
# NAMES reply. # NAMES reply.
(_, type, channel, names) = msg.args (_, type, channel, names) = msg.args
if channel not in self.channels: if channel not in self.channels:
self.channels[channel] = Channel() self.channels[channel] = ChannelState()
c = self.channels[channel] c = self.channels[channel]
for name in names.split(): for name in names.split():
c.addUser(name) c.addUser(name)