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