Browse Source

remove a spurius ; and change another string empty check

UbitUmarov 3 years ago
parent
commit
7a07e1ac73
1 changed files with 2 additions and 3 deletions
  1. 2 3
      OpenSim/Services/LLLoginService/LLLoginService.cs

+ 2 - 3
OpenSim/Services/LLLoginService/LLLoginService.cs

@@ -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);