Fix referencing account tag for ACCOUNT in IRCLineHandler
This commit is contained in:
parent
d90a5164da
commit
3ca0230733
1 changed files with 1 additions and 1 deletions
|
@ -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"])
|
||||||
|
|
Loading…
Reference in a new issue