From 37dd945bb3a63490930cdfb104ecb198395cb315 Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Tue, 14 Oct 2008 18:42:30 +0000 Subject: [PATCH] Update to 30000 git-svn-id: svn://svn.wowinterface.com/pError-161/trunk@6 7a612bb6-1b7b-4f5f-b58b-e1cc54d1b6b6 --- pError/pError.lua | 10 +++++----- pError/pError.toc | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pError/pError.lua b/pError/pError.lua index d60b81b..e47ac78 100644 --- a/pError/pError.lua +++ b/pError/pError.lua @@ -31,13 +31,13 @@ local blacklist = { ERR_NOEMOTEWHILERUNNING, -- You can't do that while moving! } -local last local orig = UIErrorsFrame_OnEvent function UIErrorsFrame_OnEvent(event, msg, ...) - last = msg - for i,text in pairs(blacklist) do - if(text and msg and msg == text) then return end + for _,listed in ipairs(blacklist) do + if(list and msg) then + if(msg == text) then return end + end end - if(msg and msg == last) then return end + return orig(event, msg, ...) end \ No newline at end of file diff --git a/pError/pError.toc b/pError/pError.toc index 5fa807c..23c8724 100644 --- a/pError/pError.toc +++ b/pError/pError.toc @@ -1,6 +1,6 @@ -## Interface: 20400 +## Interface: 30000 ## Author: p3lim -## Version: Revision wowi:revision +## Version: 30000.wowi:revision ## Title: |cffff6000p|rError ## Notes: Hide those pesky errors! -- 1.7.9.5