1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

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

This commit is contained in:
Sébastien Helleu
2023-07-18 18:48:48 +02:00
parent 7aa490e360
commit ef68312393
3 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -2995,7 +2995,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;