Quantcast

Fix missing var for registered party and raid events

Erik L. Vonderscheer [01-20-11 - 07:40]
Fix missing var for registered party and raid events
Filename
TradeFilter3.lua
diff --git a/TradeFilter3.lua b/TradeFilter3.lua
index 22db252..f9271dc 100644
--- a/TradeFilter3.lua
+++ b/TradeFilter3.lua
@@ -150,7 +150,8 @@ end

 function TF3:IsLoggedIn()
 	self:RegisterEvent("FRIENDLIST_UPDATE", "GetFriends")
-	self:RegisterEvent("PARTY_MEMBERS_CHANGED", "GetParty")
+	self:RegisterEvent("PARTY_MEMBERS_CHANGED", "GetParty", "party")
+	self:RegisterEvent("RAID_ROSTER_UPDATE", "GetParty", "raid")
 	libfriends.RegisterCallback(self, "Added")
 	libfriends.RegisterCallback(self, "Removed")
 	self:UnregisterEvent("PLAYER_LOGIN")