ACCOUNT doesn't use message-tags, duh!
This commit is contained in:
parent
55be2a3586
commit
0d6e888380
1 changed files with 2 additions and 2 deletions
|
@ -471,9 +471,9 @@ class LineHandler(object):
|
||||||
user = event["server"].get_user("nickname")
|
user = event["server"].get_user("nickname")
|
||||||
|
|
||||||
if not event["args"][0] == "*":
|
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,
|
self.events.on("received.account.login").call(user=user,
|
||||||
server=event["server"], account=event["tags"]["account"])
|
server=event["server"], account=event["args"][0])
|
||||||
else:
|
else:
|
||||||
user.identified_account = None
|
user.identified_account = None
|
||||||
self.events.on("received.account.logout").call(user=user,
|
self.events.on("received.account.logout").call(user=user,
|
||||||
|
|
Loading…
Reference in a new issue