mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -472,7 +472,7 @@ namespace OpenSim.Framework
|
||||
|
||||
m_GridNick = Util.GetConfigVarFromSections<string>(config, "GridNick", namessections, string.Empty);
|
||||
|
||||
if (m_GridName == string.Empty)
|
||||
if (string.IsNullOrEmpty(m_GridName))
|
||||
m_GridName = "Another bad configured grid";
|
||||
|
||||
OSHTTPURI tmpuri;
|
||||
|
||||
Reference in New Issue
Block a user