summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-06-15 20:47:14 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-06-15 20:47:14 +0200
commit917815635415b523eaf58ed4c65757247d5cca99 (patch)
treeabac3f1894ed07cbf2caed70cc285bde87b3263c /src/plugins/plugin.c
parent866a29c7e63bbda24e04fc36b34bbd798a8c98db (diff)
downloadweechat-917815635415b523eaf58ed4c65757247d5cca99.zip
api: add argument "strip_items" in function string_split
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index dadfdd2a3..de669e8fd 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -1007,6 +1007,7 @@ plugin_auto_load (char *force_plugin_autoload,
plugin_autoload_array = string_split (
ptr_plugin_autoload,
",",
+ NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,