diff options
author | Emmanuel Bouthenot <kolter@openics.org> | 2005-11-16 21:13:56 +0000 |
---|---|---|
committer | Emmanuel Bouthenot <kolter@openics.org> | 2005-11-16 21:13:56 +0000 |
commit | ef0e4684154e9370342759d08e7f517989a3a046 (patch) | |
tree | fe4ae5560f5f3356045e08662f3bf35493f5df67 /src/plugins/scripts/perl | |
parent | 2229d341107de1c267191ef7070843731fe1a754 (diff) | |
download | weechat-ef0e4684154e9370342759d08e7f517989a3a046.zip |
fix a bug in plugin scripts : current_script was not set when exec a command
Diffstat (limited to 'src/plugins/scripts/perl')
-rw-r--r-- | src/plugins/scripts/perl/weechat-perl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index c7a5383e2..25cd2c633 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -122,6 +122,7 @@ weechat_perl_exec (t_weechat_plugin *plugin, func = function; PERL_SET_CONTEXT (script->interpreter); #endif + perl_current_script = script; dSP; ENTER; |