diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 1bfadf3b1..3124d456b 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -58,6 +58,7 @@ Bug fixes:: * api: replace plugin and buffer name by buffer pointer in argument "modifier_data" sent to weechat_print modifier callback (issue #42) * exec: fix use of same task id for different tasks (issue #1491) * fifo: fix errors when writing in the FIFO pipe (issue #713) + * irc: do not remove spaces at the end of users messages received (issue #1513) * irc: fix realname delimiter color in WHO/WHOX response (issue #1497) * irc: reuse a buffer with wrong type "channel" when a private message is received (issue #869) * python: fix crash when invalid UTF-8 string is in a WeeChat hashtable converted to a Python dict (issue #1463) diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index a1aa89488..82efb5412 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -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);