diff options
author | Melanie | 2010-03-01 02:57:25 +0000 |
---|---|---|
committer | Melanie | 2010-03-01 02:57:25 +0000 |
commit | b8d89ac6daa1fe82f95e324010243c3cfa4d643b (patch) | |
tree | a802aba719be4f9f47a32341b728c993a1a750c7 /OpenSim | |
parent | Small tweak (diff) | |
download | opensim-SC_OLD-b8d89ac6daa1fe82f95e324010243c3cfa4d643b.zip opensim-SC_OLD-b8d89ac6daa1fe82f95e324010243c3cfa4d643b.tar.gz opensim-SC_OLD-b8d89ac6daa1fe82f95e324010243c3cfa4d643b.tar.bz2 opensim-SC_OLD-b8d89ac6daa1fe82f95e324010243c3cfa4d643b.tar.xz |
Fix -1 checks for login case
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 2 |
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 | ||