diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index f84033b..d28ad0f 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -92,7 +92,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
92 | /// Maintain a record of viewers that need to be sent notifications for friends that are online. This only | 92 | /// Maintain a record of viewers that need to be sent notifications for friends that are online. This only |
93 | /// needs to be done on login. Subsequent online/offline friend changes are sent by a different mechanism. | 93 | /// needs to be done on login. Subsequent online/offline friend changes are sent by a different mechanism. |
94 | /// </summary> | 94 | /// </summary> |
95 | protected HashSet<UUID> m_NeedsListOfFriends = new HashSet<UUID>(); | 95 | protected HashSet<UUID> m_NeedsListOfOnlineFriends = new HashSet<UUID>(); |
96 | 96 | ||
97 | protected IPresenceService PresenceService | 97 | protected IPresenceService PresenceService |
98 | { | 98 | { |
@@ -331,8 +331,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
331 | StatusChange(agentID, true); | 331 | StatusChange(agentID, true); |
332 | 332 | ||
333 | // Register that we need to send the list of online friends to this user | 333 | // Register that we need to send the list of online friends to this user |
334 | lock (m_NeedsListOfFriends) | 334 | lock (m_NeedsListOfOnlineFriends) |
335 | m_NeedsListOfFriends.Add(agentID); | 335 | m_NeedsListOfOnlineFriends.Add(agentID); |
336 | } | 336 | } |
337 | 337 | ||
338 | public virtual bool SendFriendsOnlineIfNeeded(IClientAPI client) | 338 | public virtual bool SendFriendsOnlineIfNeeded(IClientAPI client) |
@@ -340,9 +340,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
340 | UUID agentID = client.AgentId; | 340 | UUID agentID = client.AgentId; |
341 | 341 | ||
342 | // Check if the online friends list is needed | 342 | // Check if the online friends list is needed |
343 | lock (m_NeedsListOfFriends) | 343 | lock (m_NeedsListOfOnlineFriends) |
344 | { | 344 | { |
345 | if (!m_NeedsListOfFriends.Remove(agentID)) | 345 | if (!m_NeedsListOfOnlineFriends.Remove(agentID)) |
346 | return false; | 346 | return false; |
347 | } | 347 | } |
348 | 348 | ||