Fix -1 checks for login case

slimupdates
Melanie 2010-03-01 02:57:25 +00:00
parent dc22e74033
commit b8d89ac6da
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
foreach (FriendInfo fi in m_Friends[userID].Friends)
{
if ((fi.TheirFlags & 1) != 0)
if (((fi.TheirFlags & 1) != 0) && (fi.TheirFlags != -1))
friendList.Add(fi.Friend);
}