diff --git a/src/utils/irc/__init__.py b/src/utils/irc/__init__.py index c14364a7..2dc7296b 100644 --- a/src/utils/irc/__init__.py +++ b/src/utils/irc/__init__.py @@ -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