diff options
author | Diva Canto | 2010-03-01 21:32:55 -0800 |
---|---|---|
committer | Diva Canto | 2010-03-01 21:32:55 -0800 |
commit | c6a5ff26fff6a1d0c3ab916a526cf0dd4e4142bc (patch) | |
tree | 3dcf44addbc232a86e16c6732aaabe3b76a28c71 /OpenSim/Services/Connectors/Friends/FriendsSimConnector.cs | |
parent | More work on GrantRights. Still not right. (diff) | |
download | opensim-SC_OLD-c6a5ff26fff6a1d0c3ab916a526cf0dd4e4142bc.zip opensim-SC_OLD-c6a5ff26fff6a1d0c3ab916a526cf0dd4e4142bc.tar.gz opensim-SC_OLD-c6a5ff26fff6a1d0c3ab916a526cf0dd4e4142bc.tar.bz2 opensim-SC_OLD-c6a5ff26fff6a1d0c3ab916a526cf0dd4e4142bc.tar.xz |
Friends rights under control.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Connectors/Friends/FriendsSimConnector.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Friends/FriendsSimConnector.cs b/OpenSim/Services/Connectors/Friends/FriendsSimConnector.cs index 490c8cf..a29ac28 100644 --- a/OpenSim/Services/Connectors/Friends/FriendsSimConnector.cs +++ b/OpenSim/Services/Connectors/Friends/FriendsSimConnector.cs | |||
@@ -99,7 +99,7 @@ namespace OpenSim.Services.Connectors.Friends | |||
99 | return Call(region, sendData); | 99 | return Call(region, sendData); |
100 | } | 100 | } |
101 | 101 | ||
102 | public bool GrantRights(GridRegion region, UUID userID, UUID friendID) | 102 | public bool GrantRights(GridRegion region, UUID userID, UUID friendID, int userFlags, int rights) |
103 | { | 103 | { |
104 | Dictionary<string, object> sendData = new Dictionary<string, object>(); | 104 | Dictionary<string, object> sendData = new Dictionary<string, object>(); |
105 | //sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString(); | 105 | //sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString(); |
@@ -108,6 +108,8 @@ namespace OpenSim.Services.Connectors.Friends | |||
108 | 108 | ||
109 | sendData["FromID"] = userID.ToString(); | 109 | sendData["FromID"] = userID.ToString(); |
110 | sendData["ToID"] = friendID.ToString(); | 110 | sendData["ToID"] = friendID.ToString(); |
111 | sendData["UserFlags"] = userFlags.ToString(); | ||
112 | sendData["Rights"] = rights.ToString(); | ||
111 | 113 | ||
112 | return Call(region, sendData); | 114 | return Call(region, sendData); |
113 | } | 115 | } |