View Single Post
12-28-14, 04:50 PM   #6
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by sirann View Post
you only have the frame registered to addon_loaded so the only event that can cause the script to fire is addon_loaded, thus making the initial part of this two part if check, redundant and unncessary.
If I remember correctly the event fires for every addon that is loaded. I thought that's why arg1 provides the addon name.
  Reply With Quote