1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

irc: fix display of self CTCP message containing bold attribute (closes #1981)

This commit is contained in:
Sébastien Helleu
2023-07-18 18:48:48 +02:00
parent a457e22d57
commit 874a24956c
3 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -3008,7 +3008,7 @@ irc_protocol_privmsg_display_ctcp_send (struct t_irc_server *server,
if (!arguments || !arguments[0])
return;
pos_end = strchr (arguments + 1, '\01');
pos_end = strrchr (arguments + 1, '\01');
if (!pos_end)
return;