diff options
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
OpenSim/Tests/Common/Mock/TestClient.cs
Diffstat (limited to 'OpenSim/Services/Interfaces/IFriendsService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IFriendsService.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IFriendsService.cs b/OpenSim/Services/Interfaces/IFriendsService.cs index 1664f3b..d0d3b10 100644 --- a/OpenSim/Services/Interfaces/IFriendsService.cs +++ b/OpenSim/Services/Interfaces/IFriendsService.cs | |||
@@ -36,7 +36,15 @@ namespace OpenSim.Services.Interfaces | |||
36 | { | 36 | { |
37 | public UUID PrincipalID; | 37 | public UUID PrincipalID; |
38 | public string Friend; | 38 | public string Friend; |
39 | |||
40 | /// <summary> | ||
41 | /// The permissions that this user has granted to the friend. | ||
42 | /// </summary> | ||
39 | public int MyFlags; | 43 | public int MyFlags; |
44 | |||
45 | /// <summary> | ||
46 | /// The permissions that the friend has granted to this user. | ||
47 | /// </summary> | ||
40 | public int TheirFlags; | 48 | public int TheirFlags; |
41 | 49 | ||
42 | public FriendInfo() | 50 | public FriendInfo() |
@@ -51,7 +59,7 @@ namespace OpenSim.Services.Interfaces | |||
51 | Friend = string.Empty; | 59 | Friend = string.Empty; |
52 | if (kvp.ContainsKey("Friend") && kvp["Friend"] != null) | 60 | if (kvp.ContainsKey("Friend") && kvp["Friend"] != null) |
53 | Friend = kvp["Friend"].ToString(); | 61 | Friend = kvp["Friend"].ToString(); |
54 | MyFlags = 0; | 62 | MyFlags = (int)FriendRights.None; |
55 | if (kvp.ContainsKey("MyFlags") && kvp["MyFlags"] != null) | 63 | if (kvp.ContainsKey("MyFlags") && kvp["MyFlags"] != null) |
56 | Int32.TryParse(kvp["MyFlags"].ToString(), out MyFlags); | 64 | Int32.TryParse(kvp["MyFlags"].ToString(), out MyFlags); |
57 | TheirFlags = 0; | 65 | TheirFlags = 0; |