diff options
| author | 2018-11-14 08:09:01 +0000 | |
|---|---|---|
| committer | 2018-11-14 08:09:01 +0000 | |
| commit | 00eb4027ec209f45c2ad88db5c1cee62782671c5 (patch) | |
| tree | 28fa9f93e2fe3678a487a813e7c5a396002eb778 /src | |
| parent | Bold reset is 22, not 21 (diff) | |
| signature | ||
Only reset ansi bolding when both color-bold and bold are false
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 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 |
