get account id (not just account name) from WHOX

closes #116
This commit is contained in:
jesopo 2019-10-20 18:27:06 +01:00
parent 336d13534f
commit 51c914ebae

View file

@ -137,6 +137,8 @@ def handle_354(event):
target.realname = realname target.realname = realname
if not account == "0": if not account == "0":
target.identified_account = account target.identified_account = account
target.identified_account_id = event["server"].get_user(account
).get_id()
else: else:
target.identified_account = None target.identified_account = None