aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDiva Canto2010-06-05 06:56:36 -0700
committerDiva Canto2010-06-05 06:56:36 -0700
commitfe3e1c67aeb00097b2fcfb2c0c6828e9c49d7a9c (patch)
treee491cbe9c04635c433575faaeb290622f360228b /OpenSim/Region
parentvarious refactorings on methods to replicate IAR paths to user inventory in o... (diff)
downloadopensim-SC_OLD-fe3e1c67aeb00097b2fcfb2c0c6828e9c49d7a9c.zip
opensim-SC_OLD-fe3e1c67aeb00097b2fcfb2c0c6828e9c49d7a9c.tar.gz
opensim-SC_OLD-fe3e1c67aeb00097b2fcfb2c0c6828e9c49d7a9c.tar.bz2
opensim-SC_OLD-fe3e1c67aeb00097b2fcfb2c0c6828e9c49d7a9c.tar.xz
Bug fix: update the list of friends upon MakeRoot, because child agents don't get notified of new friendships.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index 0050653..3590f27 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
267 267
268 if (m_Friends.ContainsKey(agentID)) 268 if (m_Friends.ContainsKey(agentID))
269 { 269 {
270 if (m_Friends[agentID].RegionID == UUID.Zero && m_Friends[agentID].Friends == null) 270 if (m_Friends[agentID].RegionID == UUID.Zero)
271 { 271 {
272 m_Friends[agentID].Friends = 272 m_Friends[agentID].Friends =
273 m_FriendsService.GetFriends(agentID); 273 m_FriendsService.GetFriends(agentID);