View Single Post
11-13-08, 12:33 PM   #31
slizen
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 15
Originally Posted by Slakah View Post
The addonname check is to prevent the "OnEvent" function being called more than once.
Yes, but if it's the case that all addons's saved variables are loaded when the first ADDON_LOADED fires you can just skip the addon name check and unregister ADDON_LOADED right after it has fired for the first time.
  Reply With Quote