have you tried displaying a message before the if statement to see if the function is called? Seeing as you are simply hooking into an existing function I would expect it to run when that function is called by Blizzard. As long as your addon has your lua file listed in the toc file it should execute fine.
|