From 62eab40968bdc5fd69fd5b258476fe04216f8b88 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 21 Feb 2019 07:29:19 +0000 Subject: Revert "Treat both `a` and `a=` as having a value of None in message-tags (utils.irc)" This reverts commit e7ec4b5716b560832e6c899dbc14232f8ed6ca34. --- src/utils/irc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/irc/__init__.py') diff --git a/src/utils/irc/__init__.py b/src/utils/irc/__init__.py index 2dc7296b..c14364a7 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 value: + if sep: tags[tag] = message_tag_unescape(value) else: tags[tag] = None -- cgit v1.3.1-10-gc9f91