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