From 2dfc55fb9fa0a6cff1c24895f4c788149c3922a8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 21 Nov 2019 15:49:08 +0000 Subject: refactor permissions and allow hostmasks to be assigned to accounts --- modules/line_handler/channel.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/line_handler/channel.py') diff --git a/modules/line_handler/channel.py b/modules/line_handler/channel.py index 385bf6b2..91150839 100644 --- a/modules/line_handler/channel.py +++ b/modules/line_handler/channel.py @@ -72,8 +72,7 @@ def join(events, event): hostname=event["line"].source.hostname) if account: - user.identified_account = account - user.identified_account_id = event["server"].get_user(account).get_id() + user.account = account if realname: user.realname = realname -- cgit v1.3.1-10-gc9f91