From fe3e1c67aeb00097b2fcfb2c0c6828e9c49d7a9c Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 5 Jun 2010 06:56:36 -0700 Subject: [PATCH] Bug fix: update the list of friends upon MakeRoot, because child agents don't get notified of new friendships. --- OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 0050653668..3590f27fe7 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs @@ -267,7 +267,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends if (m_Friends.ContainsKey(agentID)) { - if (m_Friends[agentID].RegionID == UUID.Zero && m_Friends[agentID].Friends == null) + if (m_Friends[agentID].RegionID == UUID.Zero) { m_Friends[agentID].Friends = m_FriendsService.GetFriends(agentID);