Auto-sell settings will now work again. No longer checksound errors there
ckaotik [02-12-10 - 09:29]
Auto-sell settings will now work again. No longer checksound errors there
diff --git a/Broker_Garbage.toc b/Broker_Garbage.toc
index 4ea0a02..e5f3387 100644
--- a/Broker_Garbage.toc
+++ b/Broker_Garbage.toc
@@ -8,7 +8,7 @@
## Notes: Full bags no more! Find your least valuable item .. and destroy it!
## Notes-deDE: Endlich wieder Platz! Finde dein billigstes Item ... und zerstöre es.
## Author: ckaotik
-## Version: 3.3v11
+## Version: 3.3v12
## X-Embeds: LibPeriodicTable-3.1
## X-Category: Inventory
## X-Credits: GarbageFu, Tekkub
diff --git a/options.lua b/options.lua
index 1837122..85cc48e 100644
--- a/options.lua
+++ b/options.lua
@@ -72,7 +72,7 @@ local function ShowOptions(frame)
autosell.tiptext = BrokerGarbage.locale.autoSellText
autosell:SetChecked(BG_GlobalDB.autoSellToVendor)
local checksound = autosell:GetScript("OnClick")
- autosell:SetScript("OnClick", function(checksound)
+ autosell:SetScript("OnClick", function(autosell)
checksound(autosell)
BG_GlobalDB.autoSellToVendor = not BG_GlobalDB.autoSellToVendor
end)