mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -63,7 +63,7 @@ namespace OpenSim.OfflineIM
|
||||
m_Enabled = true;
|
||||
|
||||
string serviceLocation = cnf.GetString("OfflineMessageURL", string.Empty);
|
||||
if (serviceLocation == string.Empty)
|
||||
if (serviceLocation.Length == 0)
|
||||
m_OfflineIMService = new OfflineIMService(config);
|
||||
else
|
||||
m_OfflineIMService = new OfflineIMServiceRemoteConnector(config);
|
||||
|
||||
Reference in New Issue
Block a user