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