aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/line_handler/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_modules/line_handler/user.py')
-rw-r--r--src/core_modules/line_handler/user.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core_modules/line_handler/user.py b/src/core_modules/line_handler/user.py
index 15b71673..765d1da8 100644
--- a/src/core_modules/line_handler/user.py
+++ b/src/core_modules/line_handler/user.py
@@ -100,6 +100,7 @@ def account(events, event):
events.on("received.account.login").call(user=user,
server=event["server"], account=event["line"].args[0])
else:
+ account = user.account
user.account = None
events.on("received.account.logout").call(user=user,
- server=event["server"])
+ server=event["server"], account=account)