mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -63,7 +63,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions
|
||||
string url = startupConfig.GetString("regionload_webserver_url", String.Empty).Trim();
|
||||
bool allowRegionless = startupConfig.GetBoolean("allow_regionless", false);
|
||||
|
||||
if (url == String.Empty)
|
||||
if (url.Length == 0)
|
||||
{
|
||||
m_log.Error("[WEBLOADER]: Unable to load webserver URL - URL was empty.");
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user