From f2ca8f494870b5c37be0113bf3bdc39b80e44c29 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Tue, 23 Mar 2021 20:55:52 +0100 Subject: [PATCH] Skip logs of disabled plugins --- source/plugins/core/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugins/core/index.mjs b/source/plugins/core/index.mjs index 02a0fd59..cf178dd2 100644 --- a/source/plugins/core/index.mjs +++ b/source/plugins/core/index.mjs @@ -34,7 +34,7 @@ //Plugins for (const name of Object.keys(imports.plugins)) { - if (!plugins[name]?.enabled) + if ((!plugins[name]?.enabled)||(!q[name])) continue pending.push((async() => { try {