Quantcast

fixed stopitem format

Alex Shubert [04-25-12 - 05:45]
fixed stopitem format
Filename
AutoTurnIn.lua
diff --git a/AutoTurnIn.lua b/AutoTurnIn.lua
index 8eaf9ac..bba4d0c 100644
--- a/AutoTurnIn.lua
+++ b/AutoTurnIn.lua
@@ -297,7 +297,7 @@ function AutoTurnIn:Need()
 		local class, subclass, _, equipSlot = select(6, GetItemInfo(link))
 		--[[relics and trinkets are out of autoloot]]--
 		if  (UnitHasRelicSlot("player") and 'INVTYPE_RELIC' == equipSlot) or 'INVTYPE_TRINKET' == equipSlot then
-			self:Print(L["stopitemfound"]:format(_G['equipSlot']))
+			self:Print(L["stopitemfound"]:format(_G[equipSlot]))
 			return true
 		end