Originally Posted by sirann
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.