Remove users from channels/server AFTER we call received.quit
This commit is contained in:
parent
c6696c8b00
commit
5e8f9ccbcf
1 changed files with 1 additions and 1 deletions
|
@ -27,9 +27,9 @@ def quit(events, event):
|
|||
if (not event["server"].is_own_nickname(nickname) and
|
||||
not event["source"].hostmask == "*"):
|
||||
user = event["server"].get_user(nickname)
|
||||
event["server"].remove_user(user)
|
||||
events.on("received.quit").call(reason=reason, user=user,
|
||||
server=event["server"])
|
||||
event["server"].remove_user(user)
|
||||
else:
|
||||
event["server"].disconnect()
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue