diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-04-12 00:12:20 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-04-12 00:12:20 +0200 |
commit | 41d63511b4d9862c3e7c4c0f5bbb76743cd577cf (patch) | |
tree | 2f0ead0e25735e506f7c0584b0d0331021e46ea6 /src/plugins/perl/weechat-perl-api.c | |
parent | 5ae557fa523aa9ab166e9fac83a1463abf3be985 (diff) | |
download | weechat-41d63511b4d9862c3e7c4c0f5bbb76743cd577cf.zip |
scripts: fix return value of hook_infolist callback (pointer instead of string)
Diffstat (limited to 'src/plugins/perl/weechat-perl-api.c')
-rw-r--r-- | src/plugins/perl/weechat-perl-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perl/weechat-perl-api.c b/src/plugins/perl/weechat-perl-api.c index bc57e2e0a..c267b3aca 100644 --- a/src/plugins/perl/weechat-perl-api.c +++ b/src/plugins/perl/weechat-perl-api.c @@ -3050,7 +3050,7 @@ weechat_perl_api_hook_infolist_cb (const void *pointer, void *data, result = (struct t_infolist *)weechat_perl_exec ( script, - WEECHAT_SCRIPT_EXEC_STRING, + WEECHAT_SCRIPT_EXEC_POINTER, ptr_function, "ssss", func_argv); |