cosmetics

This commit is contained in:
UbitUmarov
2024-04-18 13:27:31 +01:00
parent 604282c482
commit f447a58ac9
3 changed files with 112 additions and 137 deletions

View File

@@ -113,14 +113,10 @@ namespace OpenSim.Region.ClientStack.LindenCaps
public void RegisterCaps(UUID agentID, Caps caps)
{
string capPath = "/" + UUID.Random();
caps.RegisterSimpleHandler("ServerReleaseNotes",
new SimpleStreamHandler(capPath, delegate (IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
{
ProcessServerReleaseNotes(httpResponse);
}));
caps.RegisterSimpleHandler("ServerReleaseNotes", new SimpleStreamHandler(capPath, ProcessServerReleaseNotes));
}
private void ProcessServerReleaseNotes(IOSHttpResponse httpResponse)
public void ProcessServerReleaseNotes(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
{
httpResponse.Redirect(m_ServerReleaseNotesURL);
}