summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin-config.c')
-rw-r--r--src/plugins/plugin-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/plugin-config.c b/src/plugins/plugin-config.c
index bc0aa97ea..05a07f67a 100644
--- a/src/plugins/plugin-config.c
+++ b/src/plugins/plugin-config.c
@@ -96,7 +96,7 @@ plugin_config_set_internal (const char *option, const char *value)
ptr_option = config_file_new_option (
plugin_config_file, plugin_config_section_var,
option, "string", NULL,
- NULL, 0, 0, "", value, NULL, NULL, NULL, NULL, NULL, NULL);
+ NULL, 0, 0, "", value, 0, NULL, NULL, NULL, NULL, NULL, NULL);
rc = (ptr_option) ? WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE : WEECHAT_CONFIG_OPTION_SET_ERROR;
}
@@ -164,7 +164,7 @@ plugin_config_create_option (void *data, struct t_config_file *config_file,
ptr_option = config_file_new_option (
config_file, section,
option_name, "string", NULL,
- NULL, 0, 0, "", value, NULL, NULL, NULL, NULL, NULL, NULL);
+ NULL, 0, 0, "", value, 0, NULL, NULL, NULL, NULL, NULL, NULL);
return (ptr_option) ?
WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE : WEECHAT_CONFIG_OPTION_SET_ERROR;