summaryrefslogtreecommitdiff
path: root/src/plugins/php/weechat-php.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-01-15 22:00:15 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-01-15 22:00:15 +0100
commit8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e (patch)
tree3dd9f08f31f4c1fb513119a57f4ff33a45b51556 /src/plugins/php/weechat-php.c
parent21e63e7958c499b79a63612d7344ad4d53bd4284 (diff)
downloadweechat-8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e.zip
scripts: add option "eval_keep_context" in script plugins
Diffstat (limited to 'src/plugins/php/weechat-php.c')
-rw-r--r--src/plugins/php/weechat-php.c2
1 files changed, 2 insertions, 0 deletions
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;