summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-07-20 13:16:35 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-07-20 13:16:35 +0200
commitb7441bd7a30e1fdee837fad9923d372b4b283374 (patch)
tree1a27579f0d8bfeed77a2377f9245d6b6d6553238 /src/plugins/irc
parent62e68f965f7bce87eb0bf61bb134de5a3d3b7507 (diff)
downloadweechat-b7441bd7a30e1fdee837fad9923d372b4b283374.zip
api: add arguments "index_start" and "index_end" in function string_rebuild_split_string
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-mode.c b/src/plugins/irc/irc-mode.c
index 7174bce24..4fe3f7187 100644
--- a/src/plugins/irc/irc-mode.c
+++ b/src/plugins/irc/irc-mode.c
@@ -69,7 +69,7 @@ irc_mode_get_arguments (const char *arguments)
argv2[argc] = NULL;
new_arguments = weechat_string_rebuild_split_string (
- (const char **)argv2, " ");
+ (const char **)argv2, " ", 0, -1);
weechat_string_free_split (argv);
free (argv2);