diff options
| author | 2018-12-12 11:50:59 +0000 | |
|---|---|---|
| committer | 2018-12-12 11:50:59 +0000 | |
| commit | 9944f08acf21d57465f9b5127a980852884595d5 (patch) | |
| tree | e194d2073848bc9f62d45f523ce88fe64637ea89 /src | |
| parent | Support '99' as a 'transparent' irc color code (diff) | |
| signature | ||
Typo, '=' -> '==' (utils.irc)
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils/irc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/irc.py b/src/utils/irc.py index 1d688226..e2b2cf19 100644 --- a/src/utils/irc.py +++ b/src/utils/irc.py @@ -164,7 +164,7 @@ def _color_tokens(s: str) -> typing.List[str]: current_color = background if is_background else foreground if current_color: next_color = int(current_color + char) - can_add = next_color <= 15 or next_color = 99 + can_add = next_color <= 15 or next_color == 99 if can_add: if is_background: |
