strip_colour: Strip '\x0F' (^O, formatting off)

Reported by ssbr on freenode:

chmode +c doesn't strip ^O, which turns off all previous formatting.
This can cause clients that internally use mIRC formatting to render messages weirdly,
e.g. highlighted messages in HexChat: <https://i.imgur.com/eDX8Aif.png>.
This commit is contained in:
auscompgeek 2014-04-17 13:12:11 +10:00
parent a0998bcdd7
commit bd96349c86

View file

@ -56,6 +56,7 @@ strip_colour(char *string)
case 4:
case 6:
case 7:
case 15:
case 22:
case 23:
case 27: