From f9230d4af7b09df693599c08c8737324c3f7a9be Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Sat, 10 Jan 2009 16:50:38 +0000 Subject: [PATCH] Minor cleanup git-svn-id: svn://svn.wowinterface.com/pError-161/trunk@11 7a612bb6-1b7b-4f5f-b58b-e1cc54d1b6b6 --- pError/pError.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pError/pError.lua b/pError/pError.lua index 1c26489..37d39d9 100644 --- a/pError/pError.lua +++ b/pError/pError.lua @@ -1,6 +1,4 @@ local addon = CreateFrame('Frame') -local orig = UIErrorsFrame_OnEvent - local defaults = { [ERR_OUT_OF_ENERGY] = true, [ERR_SPELL_COOLDOWN] = true, @@ -30,7 +28,7 @@ local function OnEvent(self, event, ...) end end - return orig(self, event, ...) + return UIErrorsFrame_OnEvent(self, event, ...) end addon:RegisterEvent('ADDON_LOADED') -- 1.7.9.5