mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -53,7 +53,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||
|
||||
string assetService = serverConfig.GetString("AssetService", String.Empty);
|
||||
|
||||
if (assetService == String.Empty)
|
||||
if (assetService.Length == 0)
|
||||
throw new Exception("No AssetService in config file");
|
||||
|
||||
Object[] args = new Object[] { config };
|
||||
|
||||
Reference in New Issue
Block a user