From 4fc7fb37fc979c3f28c51b9c82cb1a4bbdd45053 Mon Sep 17 00:00:00 2001 From: N6REJ Date: Fri, 16 Dec 2022 17:41:06 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Synced=20local=20'core.lua'=20wi?= =?UTF-8?q?th=20remote=20'wow/core.lua'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/core.lua b/core.lua index 61f1c2d..52471eb 100644 --- a/core.lua +++ b/core.lua @@ -89,10 +89,13 @@ for key, value in ipairs(addonTable.expansion) do end end --- Now process global databases -for key, value in pairs(addonTable.Globaldbs) do - db = addonTable[value] - if (db ~= nil) then - AllFilters(db) +-- Check if globaldbs is being used in toc +if (addonTable.Globaldbs ~= nil) then + -- Now process global databases + for key, value in pairs(addonTable.Globaldbs) do + db = addonTable[value] + if (db ~= nil) then + AllFilters(db) + end end end