Fix legacy client db initialization blocking for ALL wow clients

This commit is contained in:
Xurkon
2026-03-21 11:08:22 -05:00
parent a44909b1fe
commit 1d7081fbb8
+2 -2
View File
@@ -414,9 +414,9 @@ function QuestieInit:LoadDatabase(key)
-- Fix #6: `loadstring` at LOAD TIME is safe, but calling it here during
-- event-driven runtime taints any tables produced on WotLK/Era clients.
-- This path is for legacy single-file DB format. If we are on a
-- modern client (WOW_PROJECT_ID is defined and not ancient), refuse
-- modern client (WOW_PROJECT_ID is defined natively and not ancient), refuse
-- and direct the user to reinstall the split-file DB instead.
local isModernClient = QuestieCompat and QuestieCompat.WOW_PROJECT_ID and true or false
local isModernClient = _G.WOW_PROJECT_ID ~= nil
if isModernClient then
Questie:Debug(Questie.DEBUG_DEVELOP,
"[DBDiag] LEGACY DB ('" .. key .. "' is string) on modern client. "