mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user