From 8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 15 Jan 2018 22:00:15 +0100 Subject: scripts: add option "eval_keep_context" in script plugins --- src/plugins/php/weechat-php.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/php/weechat-php.c') diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c index 379867a2e..8e45e2992 100644 --- a/src/plugins/php/weechat-php.c +++ b/src/plugins/php/weechat-php.c @@ -43,6 +43,7 @@ struct t_plugin_script_data php_data; struct t_config_file *php_config_file = NULL; struct t_config_option *php_config_look_check_license = NULL; +struct t_config_option *php_config_look_eval_keep_context = NULL; int php_quiet = 0; @@ -1254,6 +1255,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) php_data.config_file = &php_config_file; php_data.config_look_check_license = &php_config_look_check_license; + php_data.config_look_eval_keep_context = &php_config_look_eval_keep_context; php_data.scripts = &php_scripts; php_data.last_script = &last_php_script; php_data.callback_command = &weechat_php_command_cb; -- cgit v1.2.3