This commit is contained in:
UbitUmarov
2023-01-25 19:44:38 +00:00
parent 575c338d1c
commit e106a8aa60

View File

@@ -1842,7 +1842,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
if (friendsModule is not null)
{
int friendPerms = friendsModule.GetRightsGrantedByFriend(client, agent);
if((friendPerms & (int)FriendRights.CanSeeOnline) != 0);
if((friendPerms & (int)FriendRights.CanSeeOnline) != 0)
{
Services.Interfaces.PresenceInfo[] pi = Scene.PresenceService?.GetAgents(new string[] { agent.ToString() });
return pi is not null && pi.Length > 0;