1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00

irc: fix display of CTCP messages that contain bold attribute (bug #38895)

This commit is contained in:
Sebastien Helleu
2013-05-06 15:07:24 +02:00
parent c6b7a244d6
commit 8b17cbb16c
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ irc_input_user_message_display (struct t_gui_buffer *buffer, int action,
if (strncmp (text, "\01ACTION ", 8) == 0)
{
action = 1;
pos = strchr (text + 8, '\01');
pos = strrchr (text + 8, '\01');
if (pos)
text2 = weechat_strndup (text + 8, pos - text - 8);
else