Check flags on initial login

slimupdates
Melanie 2010-02-25 23:04:05 +00:00
parent 44d5b2910f
commit 161d16405d
1 changed files with 4 additions and 1 deletions

View File

@ -325,7 +325,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
List<string> friendList = new List<string>();
foreach (FriendInfo fi in m_Friends[agentID].Friends)
friendList.Add(fi.Friend);
{
if ((fi.TheirFlags & 1) != 0)
friendList.Add(fi.Friend);
}
PresenceInfo[] presence = PresenceService.GetAgents(friendList.ToArray());