diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index aadd3bc..0c83679 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -261,6 +261,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
261 | client.OnTerminateFriendship += (thisClient, agentID, exfriendID) => RemoveFriendship(thisClient, exfriendID); | 261 | client.OnTerminateFriendship += (thisClient, agentID, exfriendID) => RemoveFriendship(thisClient, exfriendID); |
262 | client.OnGrantUserRights += OnGrantUserRights; | 262 | client.OnGrantUserRights += OnGrantUserRights; |
263 | 263 | ||
264 | // We need to cache information for child agents as well as root agents so that friend edit/move/delete | ||
265 | // permissions will work across borders where both regions are on different simulators. | ||
266 | // | ||
264 | // Do not do this asynchronously. If we do, then subsequent code can outrace CacheFriends() and | 267 | // Do not do this asynchronously. If we do, then subsequent code can outrace CacheFriends() and |
265 | // return misleading results from the still empty friends cache. | 268 | // return misleading results from the still empty friends cache. |
266 | // If we absolutely need to do this asynchronously, then a signalling mechanism is needed so that calls | 269 | // If we absolutely need to do this asynchronously, then a signalling mechanism is needed so that calls |