From bd96349c862fe12cafdc53879d7c5df3f8700c78 Mon Sep 17 00:00:00 2001 From: auscompgeek Date: Thu, 17 Apr 2014 13:12:11 +1000 Subject: [PATCH] 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: . --- include/inline/stringops.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/inline/stringops.h b/include/inline/stringops.h index 9b74bfd3..cf5d98fb 100644 --- a/include/inline/stringops.h +++ b/include/inline/stringops.h @@ -56,6 +56,7 @@ strip_colour(char *string) case 4: case 6: case 7: + case 15: case 22: case 23: case 27: