1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

php: set php_quiet to 1 during plugin end

This commit is contained in:
Sébastien Helleu
2017-10-03 21:33:30 +02:00
parent 33b23c8a74
commit 31dd886390
+3
View File
@@ -1156,7 +1156,10 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
int
weechat_plugin_end (struct t_weechat_plugin *plugin)
{
/* unload all scripts */
php_quiet = 1;
plugin_script_end (plugin, &php_scripts, &weechat_php_unload_all);
php_quiet = 0;
if (weechat_php_func_map)
{