Quantcast

Fixed first load

p3lim-52096 [07-29-09 - 01:09]
Fixed first load

git-svn-id: svn://svn.wowinterface.com/pError-161/trunk@20 7a612bb6-1b7b-4f5f-b58b-e1cc54d1b6b6
Filename
pError/pError.lua
diff --git a/pError/pError.lua b/pError/pError.lua
index e36409f..8d04b9a 100644
--- a/pError/pError.lua
+++ b/pError/pError.lua
@@ -60,7 +60,7 @@ pError:SetScript('OnEvent', function(self, event, name)

 		if(not pErrorUpdated) then
 			print('|cffff8080pError:|r Converted database into new format, thanks for updating!')
-			pErrorDB = pErrorDB.blacklist
+			pErrorDB = pErrorDB and pErrorDB.blacklist
 			pErrorUpdated = true
 		end