Browse files

First arg should be nil, not removed

  • Loading branch information...
1 parent a44d630 commit fa8a1ec5a791c245789f70e90a844f2b9a275991 @tekkub tekkub committed Oct 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 AddonTemplate.lua
View
2 AddonTemplate.lua
@@ -34,7 +34,7 @@ function f:ADDON_LOADED(event, addon)
-- Do anything you need to do after addon has loaded
- LibStub("tekKonfig-AboutPanel").new("AddonTemplate", "AddonTemplate") -- Remove first arg if no parent config panel
+ LibStub("tekKonfig-AboutPanel").new("AddonTemplate", "AddonTemplate") -- Make first arg nil if no parent config panel
self:UnregisterEvent("ADDON_LOADED")
self.ADDON_LOADED = nil

0 comments on commit fa8a1ec

Please sign in to comment.