From ff2345a99283365415cd9c0a28167366dfe2812f Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 2 Nov 2012 14:54:56 +0100 Subject: [PATCH] Revert "Use double underscore to avoid tainting blizzard" This reverts commit 426860d6f11b413270d3ca3b93c785820767dc3e. --- oUF_P3lim.lua | 6 +++--- tags.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index fd5b73c..3fad855 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -130,7 +130,7 @@ local function PostCreateAura(element, button) end local function PostUpdateDebuff(element, unit, button, index) - local __, __, __, __, type, __, __, owner = UnitAura(unit, index, button.filter) + local _, _, _, _, type, _, _, owner = UnitAura(unit, index, button.filter) if(owner == 'player') then local color = DebuffTypeColor[type or 'none'] @@ -162,7 +162,7 @@ do } function FilterPlayerBuffs(...) - local __, __, __, __, __, __, __, __, __, __, __, __, __, id = ... + local _, _, _, _, _, _, _, _, _, _, _, _, _, id = ... return spells[id] end end @@ -177,7 +177,7 @@ do } function FilterTargetDebuffs(...) - local __, unit, __, __, __, __, __, __, __, __, owner, __, __, id = ... + local _, unit, _, _, _, _, _, _, _, _, owner, _, _, id = ... return owner == 'player' or owner == 'vehicle' or UnitIsFriend('player', unit) or spells[id] end end diff --git a/tags.lua b/tags.lua index b9adf1f..63563d3 100644 --- a/tags.lua +++ b/tags.lua @@ -80,7 +80,7 @@ end tags.Methods['p3lim:power'] = function(unit) local power = UnitPower(unit) if(power > 0 and not UnitIsDeadOrGhost(unit)) then - local __, type = UnitPowerType(unit) + local _, type = UnitPowerType(unit) local colors = _COLORS.power return ('%s%d|r'):format(Hex(colors[type] or colors['RUNES']), power) end -- 1.7.9.5