diff options
author | Diva Canto | 2013-02-25 10:24:28 -0800 |
---|---|---|
committer | Diva Canto | 2013-02-25 10:24:28 -0800 |
commit | f7aa018a783d2e04cdba6d23b9012695f1554061 (patch) | |
tree | 2cb1c0c4b454d6b90c4e0abef86d196cc7e9cda9 /OpenSim/Addons/Groups/Remote | |
parent | More clarification on the [Groups] section (diff) | |
download | opensim-SC-f7aa018a783d2e04cdba6d23b9012695f1554061.zip opensim-SC-f7aa018a783d2e04cdba6d23b9012695f1554061.tar.gz opensim-SC-f7aa018a783d2e04cdba6d23b9012695f1554061.tar.bz2 opensim-SC-f7aa018a783d2e04cdba6d23b9012695f1554061.tar.xz |
Fixes mantis #6551 -- misspelled key name. Also fixed an issue with the roles cache.
Diffstat (limited to 'OpenSim/Addons/Groups/Remote')
-rw-r--r-- | OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs index d1c02db..628ce4d 100644 --- a/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs +++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRemoteConnectorModule.cs | |||
@@ -273,7 +273,7 @@ namespace OpenSim.Groups | |||
273 | public bool AddGroupRole(string RequestingAgentID, UUID groupID, UUID roleID, string name, string description, string title, ulong powers, out string reason) | 273 | public bool AddGroupRole(string RequestingAgentID, UUID groupID, UUID roleID, string name, string description, string title, ulong powers, out string reason) |
274 | { | 274 | { |
275 | string r = string.Empty; | 275 | string r = string.Empty; |
276 | bool success = m_CacheWrapper.AddGroupRole(roleID, description, name, powers, title, delegate | 276 | bool success = m_CacheWrapper.AddGroupRole(groupID, roleID, description, name, powers, title, delegate |
277 | { | 277 | { |
278 | return m_GroupsService.AddGroupRole(RequestingAgentID, groupID, roleID, name, description, title, powers, out r); | 278 | return m_GroupsService.AddGroupRole(RequestingAgentID, groupID, roleID, name, description, title, powers, out r); |
279 | }); | 279 | }); |
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs index 8c257ed..f991d01 100644 --- a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs +++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | |||
@@ -371,7 +371,7 @@ namespace OpenSim.Groups | |||
371 | Dictionary<string, object> result = new Dictionary<string, object>(); | 371 | Dictionary<string, object> result = new Dictionary<string, object>(); |
372 | 372 | ||
373 | if (!request.ContainsKey("RequestingAgentID") || !request.ContainsKey("GroupID") || !request.ContainsKey("RoleID") || | 373 | if (!request.ContainsKey("RequestingAgentID") || !request.ContainsKey("GroupID") || !request.ContainsKey("RoleID") || |
374 | !request.ContainsKey("Name") || !request.ContainsKey("Descrption") || !request.ContainsKey("Title") || | 374 | !request.ContainsKey("Name") || !request.ContainsKey("Description") || !request.ContainsKey("Title") || |
375 | !request.ContainsKey("Powers") || !request.ContainsKey("OP")) | 375 | !request.ContainsKey("Powers") || !request.ContainsKey("OP")) |
376 | NullResult(result, "Bad network data"); | 376 | NullResult(result, "Bad network data"); |
377 | 377 | ||