ACCOUNT doesn't use message-tags, duh!

This commit is contained in:
jesopo 2018-09-05 08:30:13 +01:00
parent 55be2a3586
commit 0d6e888380

View file

@ -471,9 +471,9 @@ class LineHandler(object):
user = event["server"].get_user("nickname")
if not event["args"][0] == "*":
user.identified_account = event["tags"]["account"]
user.identified_account = event["args"][0]
self.events.on("received.account.login").call(user=user,
server=event["server"], account=event["tags"]["account"])
server=event["server"], account=event["args"][0])
else:
user.identified_account = None
self.events.on("received.account.logout").call(user=user,