Thread: Slash commands
View Single Post
04-03-09, 02:07 PM   #5
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 863
Originally Posted by Aezay View Post
I've always been using VARIABLES_LOADED.
I just use "ADDON_LOADED" as all of my mods use AddonLoader.

Also as a slight aside I couldn't help but notice this
(type(pMinimapDB[k]) == 'nil')
nil == nil, there's really no need for an extra function call, which is odd as you seem determined to avoid them here
for k,v in next, defaults do

Last edited by Slakah : 04-03-09 at 02:11 PM.
  Reply With Quote