Use double underscore to avoid tainting blizzard
Adrian L Lange [08-30-12 - 11:42]
Use double underscore to avoid tainting blizzard
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