1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06:38 +02:00

irc: do not remove spaces at the end of users messages received (closes #1513)

The regression was introduced in version 2.5 by commit
2b70d71aa1.
This commit is contained in:
Sébastien Helleu
2020-05-19 20:12:13 +02:00
parent d1d3be6fd5
commit 4a67c4a1ab
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -6691,7 +6691,7 @@ irc_protocol_recv_command (struct t_irc_server *server,
flags = WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
| WEECHAT_STRING_SPLIT_KEEP_EOL;
if (keep_trailing_spaces)
if (!keep_trailing_spaces)
flags |= WEECHAT_STRING_SPLIT_STRIP_RIGHT;
argv_eol = weechat_string_split (message_colors_decoded, " ", NULL,
flags, 0, NULL);