WoWInterface SVN pError

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 11 to Rev 10
    Reverse comparison

Rev 11 → Rev 10

pError/pError.lua
1,4 → 1,6
local addon = CreateFrame('Frame')
local orig = UIErrorsFrame_OnEvent
 
local defaults = {
[ERR_OUT_OF_ENERGY] = true,
[ERR_SPELL_COOLDOWN] = true,
28,7 → 30,7
end
end
 
return UIErrorsFrame_OnEvent(self, event, ...)
return orig(self, event, ...)
end
 
addon:RegisterEvent('ADDON_LOADED')