Fix bolding/unbolding code in utils.irc
This commit is contained in:
parent
0b1881b1a9
commit
5c6aa87470
1 changed files with 3 additions and 2 deletions
|
@ -207,8 +207,9 @@ def to_ansi_colors(s):
|
|||
ansi_bold = False
|
||||
elif type == utils.consts.BOLD:
|
||||
if bold:
|
||||
if not ansi_bold:
|
||||
replace += utils.consts.ANSI_BOLD_RESET
|
||||
if bold:
|
||||
else:
|
||||
replace += utils.consts.ANSI_BOLD
|
||||
bold = not bold
|
||||
|
||||
|
|
Loading…
Reference in a new issue