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,8 +254,11 @@ 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;
RRAlert("loading oar"); if ( m_uri != string.Empty )
RRAlert("disabled"); {
RRAlert("loading oar");
RRAlert("disabled");
}
} }
} }