fix agentpreferences cap path

master
UbitUmarov 2020-04-23 23:54:57 +01:00
parent f2a025bc41
commit ca5756a100
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ namespace OpenSim.Region.ClientStack.LindenCaps
public void RegisterCaps(UUID agent, Caps caps) public void RegisterCaps(UUID agent, Caps caps)
{ {
string capPath = UUID.Random().ToString(); string capPath = "/" + UUID.Random().ToString();
caps.RegisterSimpleHandler("AgentPreferences", caps.RegisterSimpleHandler("AgentPreferences",
new SimpleStreamHandler(capPath, delegate(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) new SimpleStreamHandler(capPath, delegate(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
{ {