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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user