1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Sébastien Helleu 97aeed7165 irc: always send message with BATCH when multiline is enabled
The BATCH is now always used if multiline is enabled, even if there's no
newline in the message sent.
2024-05-25 20:13:07 +02:00
-1
View File
@@ -1671,7 +1671,6 @@ irc_message_split (struct t_irc_server *server, const char *message)
&& ((weechat_strcasecmp (command, "privmsg") == 0)
|| (weechat_strcasecmp (command, "notice") == 0))
&& message
&& strchr (message, '\n')
&& (index_args + 1 <= argc - 1)
&& (weechat_strncmp (argv[index_args + 1], "\01", 1) != 0)
&& (weechat_strncmp (argv[index_args + 1], ":\01", 2) != 0)