fix: nil out WotLKDB globals after pull to eliminate _G taint

This commit is contained in:
Xurkon
2026-03-21 09:23:42 -05:00
parent 5c37b87ea8
commit 8825e6fa66
+1
View File
@@ -489,6 +489,7 @@ function QuestieInit:LoadBaseDB()
local function _pullGlobal(dbKey, globalName)
if type(_G[globalName]) == "table" then
QuestieDB[dbKey] = _G[globalName]
_G[globalName] = nil -- Remove tainted global from _G; data lives on through QuestieDB[dbKey]
return true
end
return false