mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
irc: fix display of CTCP messages that contain bold attribute (bug #38895)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.4.1-rc1, 2013-05-03
|
||||
v0.4.1-rc1, 2013-05-06
|
||||
|
||||
|
||||
This document lists all changes for each version.
|
||||
@@ -58,6 +58,7 @@ Version 0.4.1 (under dev!)
|
||||
list with arguments inside), guile >= 2.0 is now required (bug #38350)
|
||||
* guile: fix crash on calls to callbacks during load of script (bug #38343)
|
||||
* guile: fix compilation with guile 2.0
|
||||
* irc: fix display of CTCP messages that contain bold attribute (bug #38895)
|
||||
* irc: add support of "dh-aes" SASL mechanism (patch #8020)
|
||||
* irc: fix duplicate nick completion when someone rejoins the channel with same
|
||||
nick but a different case (bug #38841)
|
||||
|
||||
@@ -155,7 +155,7 @@ irc_ctcp_display_reply_from_nick (struct t_irc_server *server, time_t date,
|
||||
|
||||
while (arguments && arguments[0])
|
||||
{
|
||||
pos_end = strchr (arguments + 1, '\01');
|
||||
pos_end = strrchr (arguments + 1, '\01');
|
||||
if (pos_end)
|
||||
pos_end[0] = '\0';
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user