View Single Post
10-28-10, 08:14 AM   #25
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by v6o View Post
Is SecureAura_GetUnit a Cata only function or did you mean SecureButton_GetUnit?
Yep, typo

Originally Posted by sigg View Post
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.