diff options
| author | 2018-11-14 22:50:04 +0000 | |
|---|---|---|
| committer | 2018-11-14 22:50:04 +0000 | |
| commit | 1297901dca42be1bedbc02713ab9c3ad5ccd9010 (patch) | |
| tree | f11c260811f526c9a38b999c752437155883a10b /src/utils/irc.py | |
| parent | Don't eat commas when there's no background color or when a comma directly (diff) | |
| signature | ||
We do indeed need to see "\x03" even when there's no foreground/background
(color reset)
Diffstat (limited to 'src/utils/irc.py')
| -rw-r--r-- | src/utils/irc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/irc.py b/src/utils/irc.py index af30c6fd..58ee3ef5 100644 --- a/src/utils/irc.py +++ b/src/utils/irc.py @@ -170,8 +170,7 @@ def _color_tokens(s: str) -> typing.List[str]: if len(background) > 1: color += background - if color: - matches.append("\x03%s" % color) + matches.append("\x03%s" % color) is_color = False foreground = "" background = "" |
