aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index e14843b..1daa07f 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -413,9 +413,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController
413 private bool getBoolean(Hashtable requestData, string tag, bool defv) 413 private bool getBoolean(Hashtable requestData, string tag, bool defv)
414 { 414 {
415 // If an access value has been provided, apply it. 415 // If an access value has been provided, apply it.
416 if(requestData.Contains(tag)) 416 if (requestData.Contains(tag))
417 { 417 {
418 switch(((string)requestData[tag]).ToLower()) 418 switch (((string)requestData[tag]).ToLower())
419 { 419 {
420 case "true" : 420 case "true" :
421 case "t" : 421 case "t" :
@@ -670,7 +670,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
670 { 670 {
671 List<ILandObject> parcels = ((Scene)newscene).LandChannel.AllParcels(); 671 List<ILandObject> parcels = ((Scene)newscene).LandChannel.AllParcels();
672 672
673 foreach(ILandObject parcel in parcels) 673 foreach (ILandObject parcel in parcels)
674 { 674 {
675 parcel.landData.Flags |= (uint) Parcel.ParcelFlags.AllowVoiceChat; 675 parcel.landData.Flags |= (uint) Parcel.ParcelFlags.AllowVoiceChat;
676 parcel.landData.Flags |= (uint) Parcel.ParcelFlags.UseEstateVoiceChan; 676 parcel.landData.Flags |= (uint) Parcel.ParcelFlags.UseEstateVoiceChan;
@@ -826,7 +826,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
826 bool enableVoice = getBoolean(requestData, "enable_voice", true); 826 bool enableVoice = getBoolean(requestData, "enable_voice", true);
827 List<ILandObject> parcels = ((Scene)scene).LandChannel.AllParcels(); 827 List<ILandObject> parcels = ((Scene)scene).LandChannel.AllParcels();
828 828
829 foreach(ILandObject parcel in parcels) 829 foreach (ILandObject parcel in parcels)
830 { 830 {
831 if (enableVoice) 831 if (enableVoice)
832 { 832 {