From 6fa05ad230ab9ca273c1d81fbaf744e916489a30 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Mon, 9 Dec 2013 02:15:08 +0000 Subject: [PATCH] Remove unset (nil) variable that doesn't change the return value. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1249 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleAura.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvaleAura.lua b/OvaleAura.lua index 1b9b821..5ff8c63 100644 --- a/OvaleAura.lua +++ b/OvaleAura.lua @@ -752,7 +752,7 @@ do for auraId, whoseTable in pairs(OvaleAura.aura[guid]) do for casterGUID in pairs(whoseTable) do local aura = GetStateAura(state, guid, auraId, casterGUID) - if state:IsActiveAura(aura, now) and aura.filter == filter and not aura.state then + if state:IsActiveAura(aura) and aura.filter == filter and not aura.state then local name = aura.name or "Unknown spell" tinsert(array, name .. ": " .. auraId) end @@ -762,7 +762,7 @@ do if state.aura[guid] then for auraId, whoseTable in pairs(state.aura[guid]) do for casterGUID, aura in pairs(whoseTable) do - if state:IsActiveAura(aura, now) and aura.filter == filter then + if state:IsActiveAura(aura) and aura.filter == filter then local name = aura.name or "Unknown spell" tinsert(array, name .. ": " .. auraId) end -- 1.7.9.5