Quantcast

Revert "Use double underscore to avoid tainting blizzard"

Adrian L Lange [10-17-12 - 22:25]
Revert "Use double underscore to avoid tainting blizzard"

This reverts commit 0a43d4ce7ffbf2e410c6aa4eafcf4b5c8d1085e1.
Filename
Disenchanting.lua
Lockpicking.lua
Molinari.lua
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