diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-03-07 09:35:29 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-03-07 09:35:29 +0100 |
commit | e95f8533031771d8307c6ed54d0fe2cf0bc8da37 (patch) | |
tree | dc6b35d7f2521520a81b08578829d1d7bdea3794 /src/plugins/perl | |
parent | 5d1f7e79ba3d777f238a77bd953713a3c1cc3bd2 (diff) | |
download | weechat-e95f8533031771d8307c6ed54d0fe2cf0bc8da37.zip |
scripts: reset current script pointer when load of script fails in python/perl/ruby/lua/tcl plugins
Diffstat (limited to 'src/plugins/perl')
-rw-r--r-- | src/plugins/perl/weechat-perl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/perl/weechat-perl.c b/src/plugins/perl/weechat-perl.c index d8c22a64b..7a3a65e45 100644 --- a/src/plugins/perl/weechat-perl.c +++ b/src/plugins/perl/weechat-perl.c @@ -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; |