mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
remove a spurius ; and change another string empty check
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user