WoWInterface - View Single Post - UnitBuff
Thread: UnitBuff
View Single Post
06-01-10, 02:50 PM   #7
Fishing Trainer
Seerah's Avatar
WoWInterface Super Mod
Join Date: Oct 2006
Posts: 10,759
Right now, you're checking for the buff called WG_BUFFNAME (that is, if you put it in quotes). If you intend for WG_BUFFNAME to be a variable holding the localized version of the buff name, then don't put it in quotes to make it a string. Whatever the variable equals will be a string already.

If this is what you were doing before when you got your error, then somehow your variable WG_BUFFNAME wasn't assigned to what you wanted it to be.
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote