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

iar_mods
Mic Bowman 2012-01-14 23:43:21 -08:00
parent 43173f1b0d
commit 2e4fbe6b17
1 changed files with 5 additions and 2 deletions

View File

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