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/tcl/weechat-tcl-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/tcl/weechat-tcl-api.c')
-rw-r--r-- | src/plugins/tcl/weechat-tcl-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tcl/weechat-tcl-api.c b/src/plugins/tcl/weechat-tcl-api.c index c292871b7..250f3f7f7 100644 --- a/src/plugins/tcl/weechat-tcl-api.c +++ b/src/plugins/tcl/weechat-tcl-api.c @@ -3343,7 +3343,7 @@ weechat_tcl_api_hook_infolist_cb (const void *pointer, void *data, result = (struct t_infolist *)weechat_tcl_exec ( script, - WEECHAT_SCRIPT_EXEC_STRING, + WEECHAT_SCRIPT_EXEC_POINTER, ptr_function, "ssss", func_argv); |