diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 98ab433..762e22a 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -367,18 +367,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
367 | foreach (OSD c in capsRequested) | 367 | foreach (OSD c in capsRequested) |
368 | validCaps.Add(c.AsString()); | 368 | validCaps.Add(c.AsString()); |
369 | 369 | ||
370 | Hashtable caps = m_HostCapsObj.CapsHandlers.GetCapsDetails(true, validCaps); | 370 | string result = LLSDHelpers.SerialiseLLSDReply(m_HostCapsObj.GetCapsDetails(true, validCaps)); |
371 | |||
372 | // Add the external too | ||
373 | foreach (KeyValuePair<string, string> kvp in m_HostCapsObj.ExternalCapsHandlers) | ||
374 | { | ||
375 | if (!validCaps.Contains(kvp.Key)) | ||
376 | continue; | ||
377 | |||
378 | caps[kvp.Key] = kvp.Value; | ||
379 | } | ||
380 | |||
381 | string result = LLSDHelpers.SerialiseLLSDReply(caps); | ||
382 | 371 | ||
383 | //m_log.DebugFormat("[CAPS] CapsRequest {0}", result); | 372 | //m_log.DebugFormat("[CAPS] CapsRequest {0}", result); |
384 | 373 | ||