mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -73,7 +73,7 @@ namespace OpenSim.Services.HypergridService
|
||||
{
|
||||
// realm = authConfig.GetString("Realm", realm);
|
||||
string userAccountsDll = invConfig.GetString("UserAccountsService", string.Empty);
|
||||
if (userAccountsDll == string.Empty)
|
||||
if (userAccountsDll.Length == 0)
|
||||
throw new Exception("Please specify UserAccountsService in HGInventoryService configuration");
|
||||
|
||||
Object[] args = new Object[] { config };
|
||||
|
||||
Reference in New Issue
Block a user