Quantcast

4.7.7

Munglunch [10-01-14 - 20:53]
4.7.7
Filename
Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
diff --git a/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua b/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
index 29e2bf7..a8dfd52 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
@@ -215,8 +215,8 @@ function PLUGIN:PLAYER_ENTERING_WORLD(event, ...)

 	local listener = self.EventListeners[event]
 	for addonName,fn in pairs(self.AddOnQueue)do
-		if(not SV.Options.args.plugins.args.pluginOptions.args[Schema].args["addons"][addonName]) then
-			SV.Options.args.plugins.args.pluginOptions.args[Schema].args["addons"][addonName] = {
+		if(not SV.Options.args.plugins.args.pluginOptions.args[Schema].args["addons"].args[addonName]) then
+			SV.Options.args.plugins.args.pluginOptions.args[Schema].args["addons"].args[addonName] = {
 				type = "toggle",
 				name = addonName,
 				desc = L["Addon Styling"],