aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
index 68cec4b..e7544b5 100644
--- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
+++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
@@ -174,6 +174,12 @@ namespace OpenSim.Server.Handlers.Simulation
174 resp["reason"] = OSD.FromString(reason); 174 resp["reason"] = OSD.FromString(reason);
175 resp["version"] = OSD.FromString(version); 175 resp["version"] = OSD.FromString(version);
176 176
177 OSDArray featuresWanted = new OSDArray();
178 foreach (UUID feature in features)
179 featuresWanted.Add(OSD.FromString(feature.ToString()));
180
181 resp["features"] = featuresWanted;
182
177 // We must preserve defaults here, otherwise a false "success" will not be put into the JSON map! 183 // We must preserve defaults here, otherwise a false "success" will not be put into the JSON map!
178 responsedata["str_response_string"] = OSDParser.SerializeJsonString(resp, true); 184 responsedata["str_response_string"] = OSDParser.SerializeJsonString(resp, true);
179 185