From 31dd88639008bf65bc401fe01e6b1feefce1cfc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 3 Oct 2017 21:33:30 +0200 Subject: [PATCH] php: set php_quiet to 1 during plugin end --- src/plugins/php/weechat-php.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c index c6d02f13c..a4f1946fc 100644 --- a/src/plugins/php/weechat-php.c +++ b/src/plugins/php/weechat-php.c @@ -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) {