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/Hypergrid/HGGroupsServiceRobustConnector.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/Hypergrid/HGGroupsServiceRobustConnector.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs index dc36787..207d810 100644 --- a/OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs +++ b/OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs | |||
@@ -210,10 +210,11 @@ namespace OpenSim.Groups | |||
210 | string token = request["AccessToken"].ToString(); | 210 | string token = request["AccessToken"].ToString(); |
211 | 211 | ||
212 | m_GroupsService.RemoveAgentFromGroup(agentID, agentID, groupID, token); | 212 | m_GroupsService.RemoveAgentFromGroup(agentID, agentID, groupID, token); |
213 | |||
214 | result["RESULT"] = "true"; | ||
213 | } | 215 | } |
214 | 216 | ||
215 | //m_log.DebugFormat("[XXX]: resp string: {0}", xmlString); | 217 | //m_log.DebugFormat("[XXX]: resp string: {0}", xmlString); |
216 | result["RESULT"] = "true"; | ||
217 | return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result)); | 218 | return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result)); |
218 | } | 219 | } |
219 | 220 | ||