Quantcast

Cleanup and clarification

p3lim-52096 [12-21-08 - 00:58]
Cleanup and clarification

git-svn-id: svn://svn.wowinterface.com/pError-161/trunk@8 7a612bb6-1b7b-4f5f-b58b-e1cc54d1b6b6
Filename
pError/pError.lua
diff --git a/pError/pError.lua b/pError/pError.lua
index 0c8a403..9cff3da 100644
--- a/pError/pError.lua
+++ b/pError/pError.lua
@@ -1,8 +1,10 @@
 --[[
-	You can find more errors to add to the blacklist below at this list:
-	http://www.wowwiki.com/WoW_Constants/Errors
-
-	Just use CTRL+F to find the right constant
+	Below you will find a table of errors.
+	You add your custom one(s) just like shown below.
+	Dont replace any, just add it.
+
+	You can find more error constants by following the
+	link found on the info page on WoWInterface.com.
 --]]

 local blacklist = {
@@ -46,7 +48,6 @@ local blacklist = {

 local OrigHandler = UIErrorsFrame_OnEvent
 function UIErrorsFrame_OnEvent(self, event, msg, ...)
-	local db = _G.pErrorDB or {}
 	if(event == 'UI_ERROR_MESSAGE') then
 		for _, i in ipairs(blacklist) do
 			if(msg == i) then return end