From 97aeed71659cefbc6c9df7cc85bb74d69d0723d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 25 May 2024 20:13:07 +0200 Subject: [PATCH] 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. --- src/plugins/irc/irc-message.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/irc/irc-message.c b/src/plugins/irc/irc-message.c index 052b07282..ce9c8854a 100644 --- a/src/plugins/irc/irc-message.c +++ b/src/plugins/irc/irc-message.c @@ -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)