diff options
Diffstat (limited to 'OpenSim/Services/Connectors/Friends')
-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 | } |