mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -69,7 +69,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence
|
||||
|
||||
string serviceDll = inventoryConfig.GetString("LocalServiceModule", String.Empty);
|
||||
|
||||
if (serviceDll == String.Empty)
|
||||
if (serviceDll.Length == 0)
|
||||
{
|
||||
m_log.Error("[LOCAL PRESENCE CONNECTOR]: No LocalServiceModule named in section PresenceService");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user