WoWInterface SVN pError

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 5 to Rev 6
    Reverse comparison

Rev 5 → Rev 6

trunk/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!
 
trunk/pError/pError.lua
31,13 → 31,13
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