From 3dec7b9cfa8112f097de73bffbe5705613e99bd3 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 18 Oct 2012 00:25:21 +0200 Subject: [PATCH] Revert "Use double underscore to avoid tainting blizzard" This reverts commit 0a43d4ce7ffbf2e410c6aa4eafcf4b5c8d1085e1. --- 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 1c3f656..c61e127 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 ef8fea2..b6f33be 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 5b5dbac..22d23a0 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