mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -58,7 +58,7 @@ namespace OpenSim.Server.Handlers.BakedTextures
|
||||
}
|
||||
|
||||
m_FSBase = assetConfig.GetString("BaseDirectory", string.Empty);
|
||||
if (m_FSBase == string.Empty)
|
||||
if (m_FSBase.Length == 0)
|
||||
{
|
||||
m_log.ErrorFormat("[BAKES]: BaseDirectory not specified");
|
||||
throw new Exception("Configuration error");
|
||||
|
||||
Reference in New Issue
Block a user