From 00eb4027ec209f45c2ad88db5c1cee62782671c5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 14 Nov 2018 08:09:01 +0000 Subject: Only reset ansi bolding when both color-bold and bold are false --- src/utils/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/irc.py') diff --git a/src/utils/irc.py b/src/utils/irc.py index 4e6991e4..4366573d 100644 --- a/src/utils/irc.py +++ b/src/utils/irc.py @@ -201,7 +201,7 @@ def to_ansi_colors(s): else: if color: replace += utils.consts.ANSI_COLOR_RESET - if ansi_bold: + if ansi_bold and not bold: replace += utils.consts.ANSI_BOLD_RESET color = False ansi_bold = False -- cgit v1.3.1-10-gc9f91