From 51c914ebae76298cf46f653427ba88b5a6f31412 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 20 Oct 2019 18:27:06 +0100 Subject: [PATCH] get account id (not just account name) from WHOX closes #116 --- modules/line_handler/core.py | 2 ++ 1 file changed, 2 insertions(+) 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