1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +02:00

core, plugins, tests: fix octal notation in strings

This commit is contained in:
Sébastien Helleu
2024-09-17 22:13:57 +02:00
parent 2b702f21d3
commit 02847246b2
13 changed files with 225 additions and 225 deletions
+2 -2
View File
@@ -315,8 +315,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)
|| (strncmp (message, "\01ACTION\01", 8) == 0));
action = ((strncmp (message, "\001ACTION ", 8) == 0)
|| (strncmp (message, "\001ACTION\001", 8) == 0));
list_size = weechat_arraylist_size (list_messages);
for (i = 0; i < list_size; i++)
{