Hello, users.
Today I decided to make new addon, but now I have one problem: I can't make my frames visible when I have aura on my character.
http://pastebin.com/dnxQUSqt - my code.
Game version: TBC 2.4.3.
P.S. Frames are working.
P.P.S. Textures are correct.
P.P.P.S. Function that should update frames visibility works correctly only for printing messages in chat