From 488a869ba7ca7dd6416406f9a5486071619760dd Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 30 Mar 2016 12:48:50 +0100 Subject: added a line I forgot to add to dispose of nonvisible users. --- IRCLineHandler.py | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.3.1-10-gc9f91