Treat both a
and a=
as having a value of None in message-tags (utils.irc)
This commit is contained in:
parent
deedab7248
commit
e7ec4b5716
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ def parse_line(line: str) -> IRCParsedLine:
|
||||||
|
|
||||||
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