Skip to content

Commit

Permalink
trying to fix the error msg, untested
Browse files Browse the repository at this point in the history
  • Loading branch information
cschomburg committed Jul 23, 2010
1 parent 76f68fa commit f2250d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core.lua
Expand Up @@ -218,7 +218,9 @@ for chatname, options in pairs(ChatFrameConfig) do
chicchai:SetScript("OnEvent", chatEvent)
chicchai:Hide()

updateHeight(chatframe)
if(getChicchai(chatframe) == chicchai) then
updateHeight(chatframe)
end

hooksecurefunc(chatframe, "AddMessage", updateHeight)
end
Expand Down

0 comments on commit f2250d1

Please sign in to comment.