diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs')
-rw-r--r-- | OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs index d79e4fa..598e7a5 100644 --- a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs +++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | |||
@@ -393,7 +393,7 @@ namespace OpenSim.Groups | |||
393 | 393 | ||
394 | if (!request.ContainsKey("RequestingAgentID") || !request.ContainsKey("GroupID") || !request.ContainsKey("RoleID") || | 394 | if (!request.ContainsKey("RequestingAgentID") || !request.ContainsKey("GroupID") || !request.ContainsKey("RoleID") || |
395 | !request.ContainsKey("Name") || !request.ContainsKey("Description") || !request.ContainsKey("Title") || | 395 | !request.ContainsKey("Name") || !request.ContainsKey("Description") || !request.ContainsKey("Title") || |
396 | !request.ContainsKey("Powers") || !request.ContainsKey("OP")) | 396 | !request.ContainsKey("Powers") || !request.ContainsKey("OP")) |
397 | NullResult(result, "Bad network data"); | 397 | NullResult(result, "Bad network data"); |
398 | 398 | ||
399 | else | 399 | else |
@@ -519,11 +519,11 @@ namespace OpenSim.Groups | |||
519 | 519 | ||
520 | bool success = false; | 520 | bool success = false; |
521 | if (op == "ADD") | 521 | if (op == "ADD") |
522 | success = m_GroupsService.AddAgentToGroupRole(request["RequestingAgentID"].ToString(), request["AgentID"].ToString(), | 522 | success = m_GroupsService.AddAgentToGroupRole(request["RequestingAgentID"].ToString(), request["AgentID"].ToString(), |
523 | new UUID(request["GroupID"].ToString()), new UUID(request["RoleID"].ToString())); | 523 | new UUID(request["GroupID"].ToString()), new UUID(request["RoleID"].ToString())); |
524 | 524 | ||
525 | else if (op == "DELETE") | 525 | else if (op == "DELETE") |
526 | success = m_GroupsService.RemoveAgentFromGroupRole(request["RequestingAgentID"].ToString(), request["AgentID"].ToString(), | 526 | success = m_GroupsService.RemoveAgentFromGroupRole(request["RequestingAgentID"].ToString(), request["AgentID"].ToString(), |
527 | new UUID(request["GroupID"].ToString()), new UUID(request["RoleID"].ToString())); | 527 | new UUID(request["GroupID"].ToString()), new UUID(request["RoleID"].ToString())); |
528 | 528 | ||
529 | result["RESULT"] = success.ToString(); | 529 | result["RESULT"] = success.ToString(); |
@@ -647,8 +647,8 @@ namespace OpenSim.Groups | |||
647 | string op = request["OP"].ToString(); | 647 | string op = request["OP"].ToString(); |
648 | 648 | ||
649 | if (op == "ADD" && request.ContainsKey("GroupID") && request.ContainsKey("RoleID") && request.ContainsKey("AgentID")) | 649 | if (op == "ADD" && request.ContainsKey("GroupID") && request.ContainsKey("RoleID") && request.ContainsKey("AgentID")) |
650 | { | 650 | { |
651 | bool success = m_GroupsService.AddAgentToGroupInvite(request["RequestingAgentID"].ToString(), | 651 | bool success = m_GroupsService.AddAgentToGroupInvite(request["RequestingAgentID"].ToString(), |
652 | new UUID(request["InviteID"].ToString()), new UUID(request["GroupID"].ToString()), | 652 | new UUID(request["InviteID"].ToString()), new UUID(request["GroupID"].ToString()), |
653 | new UUID(request["RoleID"].ToString()), request["AgentID"].ToString()); | 653 | new UUID(request["RoleID"].ToString()), request["AgentID"].ToString()); |
654 | 654 | ||
@@ -664,7 +664,7 @@ namespace OpenSim.Groups | |||
664 | } | 664 | } |
665 | else if (op == "GET") | 665 | else if (op == "GET") |
666 | { | 666 | { |
667 | GroupInviteInfo invite = m_GroupsService.GetAgentToGroupInvite(request["RequestingAgentID"].ToString(), | 667 | GroupInviteInfo invite = m_GroupsService.GetAgentToGroupInvite(request["RequestingAgentID"].ToString(), |
668 | new UUID(request["InviteID"].ToString())); | 668 | new UUID(request["InviteID"].ToString())); |
669 | 669 | ||
670 | if (invite != null) | 670 | if (invite != null) |