From 98bb8d85bb7a83fec7173f87916a0f737d2cda50 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 9 May 2019 11:38:49 +0200 Subject: [PATCH] Update ServerHider.plugin.js --- Plugins/ServerHider/ServerHider.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/ServerHider/ServerHider.plugin.js b/Plugins/ServerHider/ServerHider.plugin.js index c8f22f3948..ca93bc121b 100644 --- a/Plugins/ServerHider/ServerHider.plugin.js +++ b/Plugins/ServerHider/ServerHider.plugin.js @@ -284,7 +284,7 @@ class ServerHider { isInFolder (id) { if (!BDFDB.isPluginEnabled("ServerFolders")) return false; - for (let folder in BDFDB.loadAllData(this, "folders")) if ((folder.servers || []).includes(id)) return true; + for (let folder in BDFDB.loadAllData("ServeFolders", "folders")) if ((folder.servers || []).includes(id)) return true; return false; }