chatcopy: remove leftover variable

This commit is contained in:
shagu
2019-01-20 19:37:43 +01:00
parent 3d14a556fc
commit b25325cccd
+1 -3
View File
@@ -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)
end)