diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 2 |
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 8f84d81..5dc9c44 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -471,7 +471,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
471 | 471 | ||
472 | for (int x = 0; x < friendSessions.GetLength(0); x++) | 472 | for (int x = 0; x < friendSessions.GetLength(0); x++) |
473 | { | 473 | { |
474 | PresenceInfo friendSession = PresenceInfo.GetOnlinePresence(friendSessions); | 474 | PresenceInfo friendSession = friendSessions[x]; |
475 | if (friendSession != null) | 475 | if (friendSession != null) |
476 | { | 476 | { |
477 | GridRegion region = GridService.GetRegionByUUID(m_Scenes[0].RegionInfo.ScopeID, friendSession.RegionID); | 477 | GridRegion region = GridService.GetRegionByUUID(m_Scenes[0].RegionInfo.ScopeID, friendSession.RegionID); |