remove a spurius ; and change another string empty check

This commit is contained in:
UbitUmarov
2020-12-26 02:38:22 +00:00
parent f5e6159c22
commit 7a07e1ac73

View File

@@ -38,7 +38,6 @@ using Nini.Config;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Framework.Console;
using OpenSim.Server.Base;
using OpenSim.Services.Connectors.InstantMessage;
using OpenSim.Services.Interfaces;
@@ -153,7 +152,7 @@ namespace OpenSim.Services.LLLoginService
}
// Clean up some of these vars
if (m_MapTileURL != string.Empty)
if (!string.IsNullOrWhiteSpace(m_MapTileURL))
{
m_MapTileURL = m_MapTileURL.Trim();
if (!m_MapTileURL.EndsWith("/"))
@@ -898,7 +897,7 @@ namespace OpenSim.Services.LLLoginService
if(simConnector == null)
return null;
circuitCode = (uint)Util.RandomClass.Next(); ;
circuitCode = (uint)Util.RandomClass.Next();
aCircuit = MakeAgent(destination, account, avatar, session, secureSession, circuitCode, position,
clientIP.Address.ToString(), viewer, channel, mac, id0);