aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-11-07 21:21:35 -0300
committerdequis <dx@dxzone.com.ar>2015-11-07 21:21:35 -0300
commit3d365b497cc788ae330e9783799cee4ad2444368 (patch)
tree2b4c2da5d13d25a7d07bae06e41f04019e15ca04
parent0a5d03c8aa25223d054012022caeecfebf7b9638 (diff)
otr_filter_colors: Also remove \x02 (irc bold)
-rw-r--r--otr.c2
1 files changed, 1 insertions, 1 deletions
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] = '?';
}
}