diff options
Diffstat (limited to 'OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs')
-rw-r--r-- | OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs index 5cf6ec7..26e844e 100644 --- a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs +++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | |||
@@ -285,9 +285,10 @@ namespace OpenSim.Groups | |||
285 | string agentID = request["AgentID"].ToString(); | 285 | string agentID = request["AgentID"].ToString(); |
286 | string requestingAgentID = request["RequestingAgentID"].ToString(); | 286 | string requestingAgentID = request["RequestingAgentID"].ToString(); |
287 | 287 | ||
288 | m_GroupsService.RemoveAgentFromGroup(requestingAgentID, agentID, groupID); | 288 | if (!m_GroupsService.RemoveAgentFromGroup(requestingAgentID, agentID, groupID)) |
289 | 289 | NullResult(result, string.Format("Insufficient permissions.", agentID)); | |
290 | result["RESULT"] = "true"; | 290 | else |
291 | result["RESULT"] = "true"; | ||
291 | } | 292 | } |
292 | 293 | ||
293 | //m_log.DebugFormat("[XXX]: resp string: {0}", xmlString); | 294 | //m_log.DebugFormat("[XXX]: resp string: {0}", xmlString); |