aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-20 18:27:06 +0100
committerGravatar jesopo2019-10-20 18:27:06 +0100
commit51c914ebae76298cf46f653427ba88b5a6f31412 (patch)
treec950869743dc4328b72eb33e62228d6e748a0652 /modules
parentv1.13.0-rc2 release (diff)
signature
get account id (not just account name) from WHOX
closes #116
Diffstat (limited to 'modules')
-rw-r--r--modules/line_handler/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/line_handler/core.py b/modules/line_handler/core.py
index aac9e327..607c8dd4 100644
--- a/modules/line_handler/core.py
+++ b/modules/line_handler/core.py
@@ -137,6 +137,8 @@ def handle_354(event):
target.realname = realname
if not account == "0":
target.identified_account = account
+ target.identified_account_id = event["server"].get_user(account
+ ).get_id()
else:
target.identified_account = None