View Single Post
08-30-14, 05:12 AM   #4
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Just do HasTarget = UnitExists('target') and then it will work in both versions.

You really shouldn't do an explicit comparison to 1 or true unless it can return something that doesn't evaluate to a boolean.