1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

irc: fix display of CTCP ACTION sent without parameters nor space

This commit is contained in:
Sébastien Helleu
2023-05-29 11:10:25 +02:00
parent 3826d1150d
commit a4c2d7f808
+2 -1
View File
@@ -326,7 +326,8 @@ irc_input_send_user_message (struct t_gui_buffer *buffer, int flags,
/* display only if capability "echo-message" is NOT enabled */
if (!weechat_hashtable_has_key (ptr_server->cap_list, "echo-message"))
{
action = (strncmp (message, "\01ACTION ", 8) == 0);
action = ((strncmp (message, "\01ACTION ", 8) == 0)
|| (strncmp (message, "\01ACTION\01", 8) == 0));
list_size = weechat_arraylist_size (list_messages);
for (i = 0; i < list_size; i++)
{