Treat both a and a= as having a value of None in message-tags (utils.irc)

This commit is contained in:
jesopo 2019-02-20 22:26:31 +00:00
parent deedab7248
commit e7ec4b5716

View file

@ -119,7 +119,7 @@ def parse_line(line: str) -> IRCParsedLine:
for tag in filter(None, tags_prefix.split(";")):
tag, sep, value = tag.partition("=")
if sep:
if value:
tags[tag] = message_tag_unescape(value)
else:
tags[tag] = None