From 0a43d4ce7ffbf2e410c6aa4eafcf4b5c8d1085e1 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 30 Aug 2012 13:42:20 +0200 Subject: [PATCH] Use double underscore to avoid tainting blizzard --- Disenchanting.lua | 4 ++-- Lockpicking.lua | 2 +- Molinari.lua | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Disenchanting.lua b/Disenchanting.lua index c61e127..1c3f656 100644 --- a/Disenchanting.lua +++ b/Disenchanting.lua @@ -1,4 +1,4 @@ -local _, ns = ... +local __, ns = ... -- http://www.wowhead.com/items=2?filter=qu=2:3:4;cr=8:161;crs=2:1;crv=0:0 -- http://www.wowhead.com/items=4.1?filter=qu=2:3:4;cr=8:161;crs=2:1;crv=0:0 @@ -1737,7 +1737,7 @@ local notDisenchantable = { } function ns.Disenchantable(link) - local _, _, quality = GetItemInfo(link) + local __, __, quality = GetItemInfo(link) if(IsEquippableItem(link) and quality and quality > 1 and quality < 5) then return not notDisenchantable[link:match('item:(%d+):')] diff --git a/Lockpicking.lua b/Lockpicking.lua index b6f33be..ef8fea2 100644 --- a/Lockpicking.lua +++ b/Lockpicking.lua @@ -1,4 +1,4 @@ -local _, ns = ... +local __, ns = ... -- http://www.wowhead.com/items?filter=cr=10:5;crs=1:2;crv=0:0 diff --git a/Molinari.lua b/Molinari.lua index 22d23a0..5b5dbac 100644 --- a/Molinari.lua +++ b/Molinari.lua @@ -66,7 +66,7 @@ function button:PLAYER_LOGIN() self:RegisterEvent('MODIFIER_STATE_CHANGED') self:Hide() - for _, sparks in pairs(self.sparkles) do + for __, sparks in pairs(self.sparkles) do sparks:SetHeight(sparks:GetHeight() * 3) sparks:SetWidth(sparks:GetWidth() * 3) end -- 1.7.9.5