View Single Post
09-22-05, 01:31 PM   #7
gix
A Deviate Faerie Dragon
 
gix's Avatar
Join Date: Sep 2005
Posts: 13
I do not think that this is the reason.
I usually have 4 chatframes up. Left 3 frames together tabbed: one chat log (with everything except combat of course), one with loot/whisper messages and one with "self" combat events and on the right a normal combat log.
So "say", "guild" and "raid" are only active in one window and if the function in question is indeed called for every window then it would be called four times.

I have not tried what happens if I active raid messages in other windows. Thanks for pointing that out. ChatFrame_OnEvent uses this:AddMessage() so I think it is called indeed multiple times but only for windows where the event in question is activated.

I haven't thought about that. If a user receives raid messages in more than window this could break the addon. But it should work with the added spamming protection.
  Reply With Quote