protect the region ready alerts for loading oarfiles if no post URI is set

This commit is contained in:
Mic Bowman
2012-01-14 23:43:21 -08:00
parent 43173f1b0d
commit 2e4fbe6b17

View File

@@ -254,8 +254,11 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
// Will need some controls around this
m_scene.LoginsDisabled = true;
m_scene.LoginLock = true;
RRAlert("loading oar");
RRAlert("disabled");
if ( m_uri != string.Empty )
{
RRAlert("loading oar");
RRAlert("disabled");
}
}
}