aboutsummaryrefslogtreecommitdiff
path: root/IRCServer.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-07-02 11:08:39 +0100
committerGravatar jesopo2018-07-02 11:08:39 +0100
commit685364d56df2c1c1cefa2558fc63519e697789f8 (patch)
treec50e7e278c1695df7e1b1b04df33642ca23fe6e8 /IRCServer.py
parentadded handle_KICK to IRCLineHandler (diff)
signature
Fixed small type in IRCServer
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):