mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 22:06:38 +02:00
This should definitely fix the crash with Python 3.12, even when scripts are auto-loaded (the previous fix was working only when the scripts are loaded manually).
This commit is contained in:
@@ -1305,6 +1305,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
php_data.callback_signal_debug_dump = &weechat_php_signal_debug_dump_cb;
|
||||
php_data.callback_signal_script_action = &weechat_php_signal_script_action_cb;
|
||||
php_data.callback_load_file = &weechat_php_load_cb;
|
||||
php_data.init_before_autoload = NULL;
|
||||
php_data.unload_all = &weechat_php_unload_all;
|
||||
|
||||
php_embed_module.startup = php_weechat_startup;
|
||||
|
||||
Reference in New Issue
Block a user