diff options
author | dequis <dx@dxzone.com.ar> | 2015-11-07 21:21:35 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-11-07 21:21:35 -0300 |
commit | 3d365b497cc788ae330e9783799cee4ad2444368 (patch) | |
tree | 2b4c2da5d13d25a7d07bae06e41f04019e15ca04 | |
parent | 0a5d03c8aa25223d054012022caeecfebf7b9638 (diff) |
otr_filter_colors: Also remove \x02 (irc bold)
-rw-r--r-- | otr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] = '?'; } } |