mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
scripts: hide message when the eval script is unloaded
Related to commit 8fbbe8b0d5.
This commit is contained in:
@@ -755,7 +755,9 @@ weechat_guile_eval (struct t_gui_buffer *buffer, int send_to_buffer_as_input,
|
||||
|
||||
if (!weechat_config_boolean (guile_config_look_eval_keep_context))
|
||||
{
|
||||
guile_quiet = 1;
|
||||
weechat_guile_unload (guile_script_eval);
|
||||
guile_quiet = 0;
|
||||
guile_script_eval = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -855,7 +855,9 @@ weechat_lua_eval (struct t_gui_buffer *buffer, int send_to_buffer_as_input,
|
||||
|
||||
if (!weechat_config_boolean (lua_config_look_eval_keep_context))
|
||||
{
|
||||
lua_quiet = 1;
|
||||
weechat_lua_unload (lua_script_eval);
|
||||
lua_quiet = 0;
|
||||
lua_script_eval = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -847,7 +847,9 @@ weechat_perl_eval (struct t_gui_buffer *buffer, int send_to_buffer_as_input,
|
||||
|
||||
if (!weechat_config_boolean (perl_config_look_eval_keep_context))
|
||||
{
|
||||
perl_quiet = 1;
|
||||
weechat_perl_unload (perl_script_eval);
|
||||
perl_quiet = 0;
|
||||
perl_script_eval = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1100,7 +1100,9 @@ weechat_python_eval (struct t_gui_buffer *buffer, int send_to_buffer_as_input,
|
||||
|
||||
if (!weechat_config_boolean (python_config_look_eval_keep_context))
|
||||
{
|
||||
python_quiet = 1;
|
||||
weechat_python_unload (python_script_eval);
|
||||
python_quiet = 0;
|
||||
python_script_eval = NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -900,7 +900,9 @@ weechat_ruby_eval (struct t_gui_buffer *buffer, int send_to_buffer_as_input,
|
||||
|
||||
if (!weechat_config_boolean (ruby_config_look_eval_keep_context))
|
||||
{
|
||||
ruby_quiet = 1;
|
||||
weechat_ruby_unload (ruby_script_eval);
|
||||
ruby_quiet = 0;
|
||||
ruby_script_eval = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user