From 353538e3d80a1f90c2f3149b82d4be680ede0cdb Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 17 May 2009 15:49:58 +0200 Subject: Add function "config_is_set_plugin" in plugin/script API --- src/plugins/scripts/script-api.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/scripts/script-api.h') diff --git a/src/plugins/scripts/script-api.h b/src/plugins/scripts/script-api.h index bfedeab4a..8d4622c56 100644 --- a/src/plugins/scripts/script-api.h +++ b/src/plugins/scripts/script-api.h @@ -286,6 +286,9 @@ extern void script_api_command (struct t_weechat_plugin *weechat_plugin, extern const char *script_api_config_get_plugin (struct t_weechat_plugin *weechat_plugin, struct t_plugin_script *script, const char *option); +extern int script_api_config_is_set_plugin (struct t_weechat_plugin *weechat_plugin, + struct t_plugin_script *script, + const char *option); extern int script_api_config_set_plugin (struct t_weechat_plugin *weechat_plugin, struct t_plugin_script *script, const char *option, const char *value); -- cgit v1.2.3