diff options
Diffstat (limited to 'src/plugins/scripts/script-api.h')
-rw-r--r-- | src/plugins/scripts/script-api.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/scripts/script-api.h b/src/plugins/scripts/script-api.h index fd6918cdf..4505098f4 100644 --- a/src/plugins/scripts/script-api.h +++ b/src/plugins/scripts/script-api.h @@ -33,11 +33,11 @@ extern struct t_config_section *script_api_config_new_section (struct t_weechat_ const char *name, int user_can_add_options, int user_can_delete_options, - void (*callback_read)(void *data, - struct t_config_file *config_file, - struct t_config_section *section, - const char *option_name, - const char *value), + int (*callback_read)(void *data, + struct t_config_file *config_file, + struct t_config_section *section, + const char *option_name, + const char *value), const char *function_read, void (*callback_write)(void *data, struct t_config_file *config_file, |