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:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user