mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
scripts: reset current script pointer when load of script fails in python/perl/ruby/lua/tcl plugins
This commit is contained in:
@@ -438,6 +438,7 @@ weechat_perl_load (const char *filename)
|
||||
plugin_script_remove (weechat_perl_plugin,
|
||||
&perl_scripts, &last_perl_script,
|
||||
perl_current_script);
|
||||
perl_current_script = NULL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user