Fixed small type in IRCServer

This commit is contained in:
jesopo 2018-07-02 11:08:39 +01:00
parent 1148aad8a4
commit 685364d56d

View file

@ -130,7 +130,7 @@ class Server(object):
self.channels[new_channel.name] = new_channel self.channels[new_channel.name] = new_channel
return self.channels[channel_name.lower()] return self.channels[channel_name.lower()]
def remove_channel(self, channel): def remove_channel(self, channel):
for users in channel.users: for user in channel.users:
user.part_channel(channel) user.part_channel(channel)
del self.channels[channel.name] del self.channels[channel.name]
def parse_line(self, line): def parse_line(self, line):