1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-23 03:16:37 +02:00

scripts: add option "eval_keep_context" in script plugins

This commit is contained in:
Sébastien Helleu
2018-01-15 22:00:15 +01:00
parent 21e63e7958
commit 8fbbe8b0d5
58 changed files with 351 additions and 0 deletions
+2
View File
@@ -47,6 +47,7 @@ struct t_plugin_script_data js_data;
struct t_config_file *js_config_file = NULL;
struct t_config_option *js_config_look_check_license = NULL;
struct t_config_option *js_config_look_eval_keep_context = NULL;
int js_quiet = 0;
@@ -918,6 +919,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
js_data.config_file = &js_config_file;
js_data.config_look_check_license = &js_config_look_check_license;
js_data.config_look_eval_keep_context = &js_config_look_eval_keep_context;
js_data.scripts = &js_scripts;
js_data.last_script = &last_js_script;
js_data.callback_command = &weechat_js_command_cb;