diff --git a/modules/chatcopy.lua b/modules/chatcopy.lua index cf025601..a889613b 100644 --- a/modules/chatcopy.lua +++ b/modules/chatcopy.lua @@ -65,8 +65,6 @@ pfUI:RegisterModule("chatcopy", function () local f = CreateFrame("Frame") f:RegisterEvent("PLAYER_ENTERING_WORLD") f:SetScript("OnEvent", function() - local combat = {} - for i=1, _G.NUM_CHAT_WINDOWS do local frame = _G["ChatFrame"..i] local name = frame:GetName() @@ -195,4 +193,4 @@ pfUI:RegisterModule("chatcopy", function () end end end) -end) \ No newline at end of file +end)