aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2016-03-30 12:48:50 +0100
committerGravatar jesopo2016-03-30 12:48:50 +0100
commit488a869ba7ca7dd6416406f9a5486071619760dd (patch)
treea8514d6933319f660242aa7d35243410013d4acd
parentfixed a couple of problems in some modules. (diff)
added a line I forgot to add to dispose of nonvisible users.
-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: