aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/irc.py2
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: