summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/plugins/irc/irc-protocol.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e7be5f71..73e29046e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,6 +58,7 @@ Version 0.3.9 (under dev!)
* fifo: ignore read failing with error EAGAIN (bug #37019)
* guile: fix crash when unloading a script without pointer to interpreter
* guile: fix path of guile include dirs in cmake build (patch #7790)
+* irc: fix split of received IRC message: keep spaces at the end of message
* irc: move options from core to irc plugin: weechat.look.nickmode to
irc.look.nick_mode (new type: integer with values: none/prefix/action/both)
and weechat.look.nickmode_empty to irc.look.nick_mode_empty
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index d8e156984..067a992e6 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -4642,7 +4642,7 @@ irc_protocol_recv_command (struct t_irc_server *server,
else
dup_irc_message = NULL;
argv = weechat_string_split (dup_irc_message, " ", 0, 0, &argc);
- argv_eol = weechat_string_split (dup_irc_message, " ", 1, 0, NULL);
+ argv_eol = weechat_string_split (dup_irc_message, " ", 2, 0, NULL);
return_code = (int) (cmd_recv_func) (server,
nick, address_color, host_color,