aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index cc324fe..72909a5 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -403,7 +403,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
403 List<FriendInfo> friendList = new List<FriendInfo>(); 403 List<FriendInfo> friendList = new List<FriendInfo>();
404 foreach (FriendInfo fi in m_Friends[agentID].Friends) 404 foreach (FriendInfo fi in m_Friends[agentID].Friends)
405 { 405 {
406 if ((fi.MyFlags & 1) != 0) 406 if (((fi.MyFlags & 1) != 0) && (fi.TheirFlags != -1))
407 friendList.Add(fi); 407 friendList.Add(fi);
408 } 408 }
409 foreach (FriendInfo fi in friendList) 409 foreach (FriendInfo fi in friendList)