aboutsummaryrefslogtreecommitdiff
path: root/IRCServer.py
diff options
context:
space:
mode:
Diffstat (limited to 'IRCServer.py')
-rw-r--r--IRCServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/IRCServer.py b/IRCServer.py
index 191fd5f2..8d233657 100644
--- a/IRCServer.py
+++ b/IRCServer.py
@@ -130,7 +130,7 @@ class Server(object):
self.channels[new_channel.name] = new_channel
return self.channels[channel_name.lower()]
def remove_channel(self, channel):
- for users in channel.users:
+ for user in channel.users:
user.part_channel(channel)
del self.channels[channel.name]
def parse_line(self, line):