summaryrefslogtreecommitdiff
path: root/src/plugins/tcl
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/tcl
parent21e63e7958c499b79a63612d7344ad4d53bd4284 (diff)
downloadweechat-8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e.zip
scripts: add option "eval_keep_context" in script plugins
Diffstat (limited to 'src/plugins/tcl')
-rw-r--r--src/plugins/tcl/weechat-tcl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/tcl/weechat-tcl.c b/src/plugins/tcl/weechat-tcl.c
index fd228c791..7af80f514 100644
--- a/src/plugins/tcl/weechat-tcl.c
+++ b/src/plugins/tcl/weechat-tcl.c
@@ -48,6 +48,7 @@ struct t_plugin_script_data tcl_data;
struct t_config_file *tcl_config_file = NULL;
struct t_config_option *tcl_config_look_check_license = NULL;
+struct t_config_option *tcl_config_look_eval_keep_context = NULL;
int tcl_quiet = 0;
@@ -924,6 +925,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
tcl_data.config_file = &tcl_config_file;
tcl_data.config_look_check_license = &tcl_config_look_check_license;
+ tcl_data.config_look_eval_keep_context = &tcl_config_look_eval_keep_context;
tcl_data.scripts = &tcl_scripts;
tcl_data.last_script = &last_tcl_script;
tcl_data.callback_command = &weechat_tcl_command_cb;