aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 72909a5..7ec4a9c 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -335,7 +335,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
335 335
336 foreach (FriendInfo fi in m_Friends[userID].Friends) 336 foreach (FriendInfo fi in m_Friends[userID].Friends)
337 { 337 {
338 if ((fi.TheirFlags & 1) != 0) 338 if (((fi.TheirFlags & 1) != 0) && (fi.TheirFlags != -1))
339 friendList.Add(fi.Friend); 339 friendList.Add(fi.Friend);
340 } 340 }
341 341