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:
@@ -51,7 +51,7 @@ namespace OpenSim.Server.Handlers.Authorization
|
||||
string authorizationService = serverConfig.GetString("LocalServiceModule",
|
||||
String.Empty);
|
||||
|
||||
if (authorizationService == String.Empty)
|
||||
if (authorizationService.Length == 0)
|
||||
throw new Exception("No AuthorizationService in config file");
|
||||
|
||||
Object[] args = new Object[] { config };
|
||||
|
||||
Reference in New Issue
Block a user