aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler/channel.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-21 15:49:08 +0000
committerGravatar jesopo2019-11-21 15:49:08 +0000
commit2dfc55fb9fa0a6cff1c24895f4c788149c3922a8 (patch)
treed0979ab588a9f3f6bb6f2a2b43911a15eda72664 /modules/line_handler/channel.py
parentadd a way to execute commands through bitbotd (use for master-password) (diff)
refactor permissions and allow hostmasks to be assigned to accounts
Diffstat (limited to 'modules/line_handler/channel.py')
-rw-r--r--modules/line_handler/channel.py3
1 files changed, 1 insertions, 2 deletions
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