Fix referencing account tag for ACCOUNT in IRCLineHandler

This commit is contained in:
jesopo 2018-09-04 07:01:59 +01:00
parent d90a5164da
commit 3ca0230733

View file

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