diff options
author | Justin Clark-Casey (justincc) | 2014-07-31 21:20:10 +0100 |
---|---|---|
committer | Justin Clark-Casey | 2014-08-02 00:58:33 +0100 |
commit | a48b3ef97afddbdc5ed3a492bfbe80b94ca7bdcd (patch) | |
tree | e1e4f7ffb7ac929a85f6f193a505039905687a3c /OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | |
parent | Fix bug where calling PUTGROUP on the core groups service without specifying ... (diff) | |
download | opensim-SC_OLD-a48b3ef97afddbdc5ed3a492bfbe80b94ca7bdcd.zip opensim-SC_OLD-a48b3ef97afddbdc5ed3a492bfbe80b94ca7bdcd.tar.gz opensim-SC_OLD-a48b3ef97afddbdc5ed3a492bfbe80b94ca7bdcd.tar.bz2 opensim-SC_OLD-a48b3ef97afddbdc5ed3a492bfbe80b94ca7bdcd.tar.xz |
Don't overwrite the null result with the true result is groups service REMOVEAGENTFROMGROUP call has failed because of missing parameters
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs index 95c3208..5cf6ec7 100644 --- a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs +++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs | |||
@@ -286,10 +286,11 @@ namespace OpenSim.Groups | |||
286 | string requestingAgentID = request["RequestingAgentID"].ToString(); | 286 | string requestingAgentID = request["RequestingAgentID"].ToString(); |
287 | 287 | ||
288 | m_GroupsService.RemoveAgentFromGroup(requestingAgentID, agentID, groupID); | 288 | m_GroupsService.RemoveAgentFromGroup(requestingAgentID, agentID, groupID); |
289 | |||
290 | result["RESULT"] = "true"; | ||
289 | } | 291 | } |
290 | 292 | ||
291 | //m_log.DebugFormat("[XXX]: resp string: {0}", xmlString); | 293 | //m_log.DebugFormat("[XXX]: resp string: {0}", xmlString); |
292 | result["RESULT"] = "true"; | ||
293 | return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result)); | 294 | return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result)); |
294 | } | 295 | } |
295 | 296 | ||