Minor improvement in version checking (Simulation service)

bulletsim
Diva Canto 2011-04-29 08:01:44 -07:00
parent 97790075fe
commit e462b926ac
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ namespace OpenSim.Services.Connectors.Simulation
bool success = result["success"].AsBoolean();
reason = data["reason"].AsString();
if (data["version"] != null)
if (data["version"] != null && data["version"].AsString() != string.Empty)
version = data["version"].AsString();
m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1} version {2} ({3})", uri, success, version, data["version"].AsString());