From 9bcb38d1f0383d787f0e28e49914824f5143c11d Mon Sep 17 00:00:00 2001 From: "Erik L. Vonderscheer" Date: Thu, 27 Jan 2011 15:16:36 -0800 Subject: [PATCH] Fix GetParty() raid/party exempt list AceTimer issue.(ticket 6++) --- TradeFilter3.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/TradeFilter3.lua b/TradeFilter3.lua index 6217e9f..e1baff2 100644 --- a/TradeFilter3.lua +++ b/TradeFilter3.lua @@ -60,6 +60,8 @@ local lastmsg local lastuserID local msgsFiltered = 0 local msgsBlackFiltered = 0 +local raidTimer = false +local partyTimer = false TF3.currentPartyMembers = {} @@ -275,8 +277,8 @@ function TF3:GetParty(arg) if (TF3.db.profile.debug) then TF3:FindFrame(debugFrame, "|cFFFFFF80" .. L["MIPM"] .. "|r") end - if not (self:TimeLeft(self.RaidTimer)) then - self.RaidTimer = self:ScheduleTimer("GetParty", 10, "raid") + if not (self:TimeLeft(raidTimer)) then + raidTimer = self:ScheduleTimer("GetParty", 10, "raid") end break end @@ -304,8 +306,8 @@ function TF3:GetParty(arg) if (TF3.db.profile.debug) then TF3:FindFrame(debugFrame, "|cFFFFFF80" .. L["MIPM"] .. "|r") end - if not (self:TimeLeft(self.PartyTimer)) then - self.PartyTimer = self:ScheduleTimer("GetParty", 10, "party") + if not (self:TimeLeft(partyTimer)) then + partyTimer = self:ScheduleTimer("GetParty", 10, "party") end break end -- 1.7.9.5