From 3d365b497cc788ae330e9783799cee4ad2444368 Mon Sep 17 00:00:00 2001 From: dequis Date: Sat, 7 Nov 2015 21:21:35 -0300 Subject: otr_filter_colors: Also remove \x02 (irc bold) --- otr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otr.c') diff --git a/otr.c b/otr.c index 32161637..201aa816 100644 --- a/otr.c +++ b/otr.c @@ -753,7 +753,7 @@ void op_create_instag(void *opdata, const char *account, const char *protocol) static char *otr_filter_colors(char *msg) { int i; for (i = 0; msg[i]; i++) { - if (msg[i] == '\x03') { + if (msg[i] == '\x02' || msg[i] == '\x03') { msg[i] = '?'; } } -- cgit v1.2.3