/
## Interface: 20400 |
## Interface: 30000 |
## Author: p3lim |
## Version: Revision wowi:revision |
## Version: 30000.wowi:revision |
## Title: |cffff6000p|rError |
## Notes: Hide those pesky errors! |
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 |