Bugfix and set default verboseness to medium from quiet.
Scott Sibley [10-06-10 - 02:23]
Bugfix and set default verboseness to medium from quiet.
diff --git a/Modules/Bars/Bars.lua b/Modules/Bars/Bars.lua
index 4b57e07..ce9e529 100644
--- a/Modules/Bars/Bars.lua
+++ b/Modules/Bars/Bars.lua
@@ -213,7 +213,7 @@ local function clearBar(obj)
end
function mod:ClearBars()
- for k, v in pairs(mod.bars) do
+ for k, v in pairs(mod.bars or {}) do
clearBar(v)
end
wipe(mod.bars)
@@ -312,6 +312,7 @@ function mod:ReInit()
self.db.profile.bars[k] = copy(v)
end
end
+ self.bars = {}
end
function mod:OnInitialize()
diff --git a/Modules/Histograms/Histograms.lua b/Modules/Histograms/Histograms.lua
index d2b0c45..2fd3bf1 100644
--- a/Modules/Histograms/Histograms.lua
+++ b/Modules/Histograms/Histograms.lua
@@ -359,6 +359,7 @@ function mod:ReInit()
tinsert(self.db.profile.histograms, copy(v))
end
end
+
end
function mod:OnInitialize()
diff --git a/StarTip.lua b/StarTip.lua
index 73cd562..6e50e03 100644
--- a/StarTip.lua
+++ b/StarTip.lua
@@ -122,7 +122,7 @@ local defaults = {
objectShow = 1,
unitFrameShow = 1,
otherFrameShow = 1,
- errorLevel = 1,
+ errorLevel = 2,
throttleVal = 0,
intersectRate = 200
}