mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
fix typo
This commit is contained in:
@@ -1789,7 +1789,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
|
||||
if (friendsModule != 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 != null && pi.Length > 0;
|
||||
|
||||
Reference in New Issue
Block a user