mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Add copyright header. Formatting cleanup. Ignore some generated files.
This commit is contained in:
@@ -413,9 +413,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
private bool getBoolean(Hashtable requestData, string tag, bool defv)
|
||||
{
|
||||
// If an access value has been provided, apply it.
|
||||
if(requestData.Contains(tag))
|
||||
if (requestData.Contains(tag))
|
||||
{
|
||||
switch(((string)requestData[tag]).ToLower())
|
||||
switch (((string)requestData[tag]).ToLower())
|
||||
{
|
||||
case "true" :
|
||||
case "t" :
|
||||
@@ -670,7 +670,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
{
|
||||
List<ILandObject> parcels = ((Scene)newscene).LandChannel.AllParcels();
|
||||
|
||||
foreach(ILandObject parcel in parcels)
|
||||
foreach (ILandObject parcel in parcels)
|
||||
{
|
||||
parcel.landData.Flags |= (uint) Parcel.ParcelFlags.AllowVoiceChat;
|
||||
parcel.landData.Flags |= (uint) Parcel.ParcelFlags.UseEstateVoiceChan;
|
||||
@@ -826,7 +826,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
bool enableVoice = getBoolean(requestData, "enable_voice", true);
|
||||
List<ILandObject> parcels = ((Scene)scene).LandChannel.AllParcels();
|
||||
|
||||
foreach(ILandObject parcel in parcels)
|
||||
foreach (ILandObject parcel in parcels)
|
||||
{
|
||||
if (enableVoice)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user