added a line I forgot to add to dispose of nonvisible users.
This commit is contained in:
parent
426068f0cf
commit
488a869ba7
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue