From 56cc3d6191a3130c1652679dd94612744456977f Mon Sep 17 00:00:00 2001 From: atomaka Date: Sun, 29 May 2011 11:26:59 -0400 Subject: [PATCH] Fixed LUA error in SetupChatServer. Fixes #1 --- ChatSaver.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ChatSaver.lua b/ChatSaver.lua index ec5fc50..958fa62 100644 --- a/ChatSaver.lua +++ b/ChatSaver.lua @@ -46,9 +46,8 @@ function core:RejoinChannels(...) end function core:SetupChatSaver(...) - local chatWindowChannels = { GetChatWindowChannels(frame) }; - for frame = 1,NUM_CHAT_WINDOWS do + local chatWindowChannels = { GetChatWindowChannels(frame) }; for i = 1,#chatWindowChannels,2 do local name,zone = chatWindowChannels[i], chatWindowChannels[i + 1];