fix a typo that was breaking lsl http service, and other things

This commit is contained in:
UbitUmarov
2022-12-28 19:05:48 +00:00
parent 60d4724284
commit 8cb18e9eb2

View File

@@ -1068,7 +1068,7 @@ namespace OpenSim.Framework.Servers.HttpServer
if(m_pollHandlers.TryGetValue(handlerKey, out oServiceEventArgs))
return true;
if(m_pollHandlersVarPath.IsEmpty && handlerKey.Length >= 45)
if(!m_pollHandlersVarPath.IsEmpty && handlerKey.Length >= 45)
{
// tuned for lsl requests, the only ones that should reach this, so be strict (/lslhttp/uuid.ToString())
int indx = handlerKey.IndexOf('/', 44);