Typo in src/utils/irc.py, 'resplace' -> 'replace'

This commit is contained in:
jesopo 2018-11-14 13:16:11 +00:00
parent 99c2147512
commit f7872fac43

View file

@ -221,7 +221,7 @@ def to_ansi_colors(s: str) -> str:
replace += utils.consts.ANSI_BOLD
bold = not bold
elif type == utils.consts.RESET:
resplace += utils.consts.ANSI_RESET
replace += utils.consts.ANSI_RESET
s = s.replace(token, replace, 1)