diff --git a/.luacheckrc b/.luacheckrc index 327b16c..777f8c0 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -11,7 +11,6 @@ globals = { "CreateFrame", "GetSpellInfo", "GetActionInfo", - "GetMacroSpell", "hooksecurefunc", "tinsert", "tremove", diff --git a/HideButtonGlow.lua b/HideButtonGlow.lua index e8172f5..3de1306 100644 --- a/HideButtonGlow.lua +++ b/HideButtonGlow.lua @@ -1,7 +1,7 @@ local addonName, addon = ... -- globals -local CreateFrame, GetSpellInfo, GetActionInfo, GetMacroSpell, DEFAULT_CHAT_FRAME, InterfaceOptionsFrame_OpenToCategory = CreateFrame, GetSpellInfo, GetActionInfo, GetMacroSpell, DEFAULT_CHAT_FRAME, InterfaceOptionsFrame_OpenToCategory +local CreateFrame, GetSpellInfo, GetActionInfo, DEFAULT_CHAT_FRAME, InterfaceOptionsFrame_OpenToCategory = CreateFrame, GetSpellInfo, GetActionInfo, DEFAULT_CHAT_FRAME, InterfaceOptionsFrame_OpenToCategory local eventFrame = CreateFrame('Frame') eventFrame:SetScript('OnEvent', function(self, event, ...)