Quantcast

patch

Munglunch [08-28-14 - 20:42]
patch
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 2dce07f..4eb31a7 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
@@ -75,6 +75,7 @@ PLUGIN.OptionsCache = {
 		},
 	}
 }
+PLUGIN.Debugging = false
 --[[
 ##########################################################
 CORE FUNCTIONS
@@ -117,7 +118,7 @@ function PLUGIN:Style(style, fn, ...)
 		self.StyledAddons[style] = true
 		local verb = charming[math.random(1,#charming)]
 		self:AddonMessage(styleMessage:format(style, verb))
-	else
+	elseif(self.Debugging and error) then
 		SuperVillain:Debugger(errorMessage:format(version, style, error))
 	end
 end