Originally Posted by v6o
Is SecureAura_GetUnit a Cata only function or did you mean SecureButton_GetUnit?
|
Yep, typo
Originally Posted by sigg
23.header:HookScript('OnEvent', OnEvent)
I understand, by default the header engine is already registered the aura, and got a OnEvent function script.
In the previous code you replace the function OnEvent of the secure aura header.
|
Yeah, I figured the header already register UNIT_AURA and had an OnEvent script, so I just removed my event registration and hooked the OnEvent script.