aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-02-25 23:04:05 +0000
committerMelanie2010-02-25 23:04:05 +0000
commit161d16405de3c8a3e0216df36de32a2ddcf6db51 (patch)
tree50dcbd38345015e56b666f3902f1bfc871da5c1d
parentImplement initial online notifications (diff)
downloadopensim-SC_OLD-161d16405de3c8a3e0216df36de32a2ddcf6db51.zip
opensim-SC_OLD-161d16405de3c8a3e0216df36de32a2ddcf6db51.tar.gz
opensim-SC_OLD-161d16405de3c8a3e0216df36de32a2ddcf6db51.tar.bz2
opensim-SC_OLD-161d16405de3c8a3e0216df36de32a2ddcf6db51.tar.xz
Check flags on initial login
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index 7c81d6a..e654b1f 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -325,7 +325,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
325 List<string> friendList = new List<string>(); 325 List<string> friendList = new List<string>();
326 326
327 foreach (FriendInfo fi in m_Friends[agentID].Friends) 327 foreach (FriendInfo fi in m_Friends[agentID].Friends)
328 friendList.Add(fi.Friend); 328 {
329 if ((fi.TheirFlags & 1) != 0)
330 friendList.Add(fi.Friend);
331 }
329 332
330 PresenceInfo[] presence = PresenceService.GetAgents(friendList.ToArray()); 333 PresenceInfo[] presence = PresenceService.GetAgents(friendList.ToArray());
331 334