mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -67,7 +67,7 @@ namespace OpenSim.Server.Handlers.Inventory
|
||||
string inventoryService = serverConfig.GetString("LocalServiceModule",
|
||||
String.Empty);
|
||||
|
||||
if (inventoryService == String.Empty)
|
||||
if (inventoryService.Length == 0)
|
||||
throw new Exception("No InventoryService in config file");
|
||||
|
||||
Object[] args = new Object[] { config, m_ConfigName };
|
||||
|
||||
Reference in New Issue
Block a user