diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-raw.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-raw.c b/src/plugins/irc/irc-raw.c index 5f9226e25..093733404 100644 --- a/src/plugins/irc/irc-raw.c +++ b/src/plugins/irc/irc-raw.c @@ -244,6 +244,12 @@ irc_raw_message_print (struct t_irc_raw_message *raw_message) buf2[pos_buf2++] = hexa[ptr_buf[pos_buf] % 16]; pos_buf++; } + else if (ptr_buf[pos_buf] == '\\') + { + buf2[pos_buf2++] = '\\'; + buf2[pos_buf2++] = '\\'; + pos_buf++; + } else { char_size = weechat_utf8_char_size ((const char *)(ptr_buf + pos_buf)); |