Treat both a
and a=
as None for message-tags
This commit is contained in:
parent
d16046fb49
commit
9335ca5d16
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def parse_line(line: str) -> IRCLine.ParsedLine:
|
||||||
|
|
||||||
for tag in filter(None, tags_prefix.split(";")):
|
for tag in filter(None, tags_prefix.split(";")):
|
||||||
tag, sep, value = tag.partition("=")
|
tag, sep, value = tag.partition("=")
|
||||||
if sep:
|
if value:
|
||||||
tags[tag] = message_tag_unescape(value)
|
tags[tag] = message_tag_unescape(value)
|
||||||
else:
|
else:
|
||||||
tags[tag] = None
|
tags[tag] = None
|
||||||
|
|
Loading…
Reference in a new issue