Quantcast

Import the items from the old database

Adrian L Lange [10-23-14 - 19:19]
Import the items from the old database
Filename
Config.lua
diff --git a/Config.lua b/Config.lua
index f532dd6..6b06a76 100644
--- a/Config.lua
+++ b/Config.lua
@@ -55,6 +55,12 @@ Panel:SetScript('OnEvent', function()

 	QuickQuestDB = QuickQuestDB or defaults

+	-- TEMP: import from old DB
+	if(QuickQuestDB.ignoredQuests) then
+		QuickQuestDB.itemBlacklist = QuickQuestDB.ignoredQuests
+		QuickQuestDB.ignoredQuests = nil
+	end
+
 	for key, value in next, defaults do
 		if(QuickQuestDB[key] == nil) then
 			QuickQuestDB[key] = value