remove some '/' just wasting space

master
UbitUmarov 2020-04-24 00:54:21 +01:00
parent f955482dfd
commit 899620bc13
2 changed files with 2 additions and 2 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)
{ {

View File

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