diff options
author | Justin Clark-Casey (justincc) | 2014-07-31 21:20:10 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-07-31 21:20:55 +0100 |
commit | 6ab463a4461d84625e32afd19bfc64e77e1badd6 (patch) | |
tree | c32f29e83ee4296f37e73c96240fdcfc26529cf7 /OpenSim/Addons/Groups/Remote | |
parent | Add region-side extra feature setting for destination guide (diff) | |
download | opensim-SC-6ab463a4461d84625e32afd19bfc64e77e1badd6.zip opensim-SC-6ab463a4461d84625e32afd19bfc64e77e1badd6.tar.gz opensim-SC-6ab463a4461d84625e32afd19bfc64e77e1badd6.tar.bz2 opensim-SC-6ab463a4461d84625e32afd19bfc64e77e1badd6.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 'OpenSim/Addons/Groups/Remote')
-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 | ||