mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
scripts: fix return value of hook_infolist callback (pointer instead of string)
This commit is contained in:
@@ -2930,7 +2930,7 @@ weechat_php_api_hook_infolist_cb (const void *pointer, void *data,
|
||||
func_argv[3] = (arguments) ? (char *)arguments : weechat_php_empty_arg;
|
||||
|
||||
weechat_php_cb (pointer, data, func_argv, "ssss",
|
||||
WEECHAT_SCRIPT_EXEC_STRING, &rc);
|
||||
WEECHAT_SCRIPT_EXEC_POINTER, &rc);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user