]> jfr.im git - irc/charybdis-ircd/charybdis.git/commit
strip_colour: Strip '\x0F' (^O, formatting off)
authorauscompgeek <redacted>
Thu, 17 Apr 2014 03:12:11 +0000 (13:12 +1000)
committerJilles Tjoelker <redacted>
Fri, 15 Aug 2014 19:56:43 +0000 (21:56 +0200)
commita7bf0e97c9b4fb450ad9d9ac7543a6f7ec55a650
treef965be5859e9bd20f5396ea9123e8b60d411bf1c
parentcf7924d475e277b92834423d3ff1750891cbfd3e
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>.
(cherry picked from commit bd96349c862fe12cafdc53879d7c5df3f8700c78)
include/inline/stringops.h