aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Null/NullFriendsData.cs
diff options
context:
space:
mode:
authorDiva Canto2011-05-19 16:54:46 -0700
committerDiva Canto2011-05-19 16:54:46 -0700
commitd21e9c755f004d8fe03b11bc57b810dbd401435a (patch)
tree1efd9e48308192d21ca73d8ff12d6a48c186077c /OpenSim/Data/Null/NullFriendsData.cs
parentAccidentally committed too early (diff)
downloadopensim-SC_OLD-d21e9c755f004d8fe03b11bc57b810dbd401435a.zip
opensim-SC_OLD-d21e9c755f004d8fe03b11bc57b810dbd401435a.tar.gz
opensim-SC_OLD-d21e9c755f004d8fe03b11bc57b810dbd401435a.tar.bz2
opensim-SC_OLD-d21e9c755f004d8fe03b11bc57b810dbd401435a.tar.xz
HG Friends working to some extent: friendships offered and accepted correctly handled. Friends list showing correct foreign names. TODO: GrantRights.
Diffstat (limited to 'OpenSim/Data/Null/NullFriendsData.cs')
-rw-r--r--OpenSim/Data/Null/NullFriendsData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/Null/NullFriendsData.cs b/OpenSim/Data/Null/NullFriendsData.cs
index e7f7fd3..0c69bb1 100644
--- a/OpenSim/Data/Null/NullFriendsData.cs
+++ b/OpenSim/Data/Null/NullFriendsData.cs
@@ -53,7 +53,7 @@ namespace OpenSim.Data.Null
53 { 53 {
54 List<FriendsData> lst = m_Data.FindAll(delegate (FriendsData fdata) 54 List<FriendsData> lst = m_Data.FindAll(delegate (FriendsData fdata)
55 { 55 {
56 return fdata.PrincipalID == userID; 56 return fdata.PrincipalID == userID.ToString();
57 }); 57 });
58 58
59 if (lst != null) 59 if (lst != null)
@@ -74,7 +74,7 @@ namespace OpenSim.Data.Null
74 74
75 public bool Delete(UUID userID, string friendID) 75 public bool Delete(UUID userID, string friendID)
76 { 76 {
77 List<FriendsData> lst = m_Data.FindAll(delegate(FriendsData fdata) { return fdata.PrincipalID == userID; }); 77 List<FriendsData> lst = m_Data.FindAll(delegate(FriendsData fdata) { return fdata.PrincipalID == userID.ToString(); });
78 if (lst != null) 78 if (lst != null)
79 { 79 {
80 FriendsData friend = lst.Find(delegate(FriendsData fdata) { return fdata.Friend == friendID; }); 80 FriendsData friend = lst.Find(delegate(FriendsData fdata) { return fdata.Friend == friendID; });