From 6ab463a4461d84625e32afd19bfc64e77e1badd6 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 31 Jul 2014 21:20:10 +0100 Subject: Don't overwrite the null result with the true result is groups service REMOVEAGENTFROMGROUP call has failed because of missing parameters --- OpenSim/Addons/Groups/Hypergrid/HGGroupsServiceRobustConnector.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Addons/Groups/Hypergrid') 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 string token = request["AccessToken"].ToString(); m_GroupsService.RemoveAgentFromGroup(agentID, agentID, groupID, token); + + result["RESULT"] = "true"; } //m_log.DebugFormat("[XXX]: resp string: {0}", xmlString); - result["RESULT"] = "true"; return Util.UTF8NoBomEncoding.GetBytes(ServerUtils.BuildXmlResponse(result)); } -- cgit v1.1