aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IRCLineHandler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py
index 95c2b6b7..1c9b4d97 100644
--- a/IRCLineHandler.py
+++ b/IRCLineHandler.py
@@ -135,6 +135,7 @@ def handle_PART(line, line_split, bot, server):
line_split=line_split, server=server, channel=channel,
reason=reason, user=user)
channel.remove_user(user)
+ user.part_channel(channel)
if not len(user.channels):
server.remove_user(user)
else: