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:
parent
a0998bcdd7
commit
bd96349c86
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ strip_colour(char *string)
|
||||||
case 4:
|
case 4:
|
||||||
case 6:
|
case 6:
|
||||||
case 7:
|
case 7:
|
||||||
|
case 15:
|
||||||
case 22:
|
case 22:
|
||||||
case 23:
|
case 23:
|
||||||
case 27:
|
case 27:
|
||||||
|
|
Loading…
Reference in a new issue