Fixed LUA error in SetupChatServer. Fixes #1

This commit is contained in:
Andrew Tomaka 2011-05-29 11:26:59 -04:00
parent 3ec2840580
commit 56cc3d6191

View file

@ -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];