View Single Post
12-28-14, 06:18 PM   #8
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by sirann View Post
correct, all he needs is the arg1 == check, not the event check.

if arg1 == "cBuffs" then

instead of

if event == "ADDON_LOADED" and arg1 == "cBuffs" then
But, but ... he is unregistering the event outside of the if statement. Or not??
  Reply With Quote