mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
fix NeighbourHandler
This commit is contained in:
@@ -80,7 +80,7 @@ namespace OpenSim.Server.Handlers.Neighbour
|
||||
return;
|
||||
}
|
||||
|
||||
if (RestHandlerUtils.GetParams(httpRequest.UriPath, out UUID regionID, out ulong regionHandle, out string action)
|
||||
if (!RestHandlerUtils.GetParams(httpRequest.UriPath, out UUID regionID, out ulong regionHandle, out string action)
|
||||
|| regionID == UUID.Zero)
|
||||
{
|
||||
m_log.InfoFormat("[RegionPostHandler]: Invalid parameters for neighbour message {0}", httpRequest.UriPath);
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace OpenSim.Server.Handlers.Neighbour
|
||||
//if (authentication)
|
||||
// m_AuthenticationService = scene.RequestModuleInterface<IAuthenticationService>();
|
||||
|
||||
server.AddSimpleStreamHandler(new NeighbourSimpleHandler(m_NeighbourService, m_AuthenticationService));
|
||||
server.AddSimpleStreamHandler(new NeighbourSimpleHandler(m_NeighbourService, m_AuthenticationService), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user