more option fun

This commit is contained in:
Hendrik Leppkes
2007-12-09 09:47:08 +00:00
parent ed969c26fe
commit 80348a88b3
4 changed files with 110 additions and 68 deletions
+2 -1
View File
@@ -18,6 +18,7 @@ function Bartender4:SetupOptions()
name = "Bartender4",
icon = "Interface\\Icons\\INV_Drink_05",
childGroups = "tree",
plugins = {},
args = {
gui = {
type = "execute",
@@ -42,5 +43,5 @@ function Bartender4:SetupOptions()
end
function Bartender4:RegisterModuleOptions(key, table)
self.options.args[key] = table
self.options.plugins[key] = { [key] = table }
end