diff options
Diffstat (limited to 'src/core_modules/line_handler/user.py')
| -rw-r--r-- | src/core_modules/line_handler/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/line_handler/user.py b/src/core_modules/line_handler/user.py index 765d1da8..a5d407fb 100644 --- a/src/core_modules/line_handler/user.py +++ b/src/core_modules/line_handler/user.py @@ -27,9 +27,9 @@ def quit(events, event): if (not event["server"].is_own_nickname(nickname) and not event["line"].source.hostmask == "*"): user = event["server"].get_user(nickname) + event["server"].quit_user(user) events.on("received.quit").call(reason=reason, user=user, server=event["server"]) - event["server"].remove_user(user) else: event["server"].disconnect() else: |
