diff --git a/src/ircutils.py b/src/ircutils.py index 4b06c7966..72d21085f 100644 --- a/src/ircutils.py +++ b/src/ircutils.py @@ -309,6 +309,7 @@ def stripUnderline(s): def stripFormatting(s): """Returns the string s, with all formatting removed.""" + # stripColor has to go first because of some strings, check the tests. s = stripColor(s) s = stripBold(s) s = stripReverse(s)