mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
cosmetics, rename a few vars, etc
This commit is contained in:
@@ -97,23 +97,23 @@ namespace OpenSim.Region.ClientStack.LindenCaps
|
||||
|
||||
public void RegisterCaps(UUID agent, Caps caps)
|
||||
{
|
||||
UUID capId = UUID.Random();
|
||||
string capPath = "/CAPS/" + UUID.Random().ToString();
|
||||
caps.RegisterHandler("AgentPreferences",
|
||||
new RestStreamHandler("POST", "/CAPS/" + capId,
|
||||
new RestStreamHandler("POST", capPath,
|
||||
delegate(string request, string path, string param,
|
||||
IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
|
||||
{
|
||||
return UpdateAgentPreferences(request, path, param, agent);
|
||||
}));
|
||||
caps.RegisterHandler("UpdateAgentLanguage",
|
||||
new RestStreamHandler("POST", "/CAPS/" + capId,
|
||||
new RestStreamHandler("POST", capPath,
|
||||
delegate(string request, string path, string param,
|
||||
IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
|
||||
{
|
||||
return UpdateAgentPreferences(request, path, param, agent);
|
||||
}));
|
||||
caps.RegisterHandler("UpdateAgentInformation",
|
||||
new RestStreamHandler("POST", "/CAPS/" + capId,
|
||||
new RestStreamHandler("POST", capPath,
|
||||
delegate(string request, string path, string param,
|
||||
IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user