diff --git a/OpenSim/Capabilities/CapsHandlers.cs b/OpenSim/Capabilities/CapsHandlers.cs index 6ec375b268..6d3b9b54bf 100644 --- a/OpenSim/Capabilities/CapsHandlers.cs +++ b/OpenSim/Capabilities/CapsHandlers.cs @@ -58,7 +58,7 @@ namespace OpenSim.Framework.Capabilities m_httpListener = httpListener; m_httpListenerHostName = httpListenerHostname; m_httpListenerPort = httpListenerPort; - if (httpListener.UseSSL) + if (httpListener != null && httpListener.UseSSL) m_useSSL = true; else m_useSSL = false;