aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
diff options
context:
space:
mode:
authorJeff Ames2009-05-05 09:59:15 +0000
committerJeff Ames2009-05-05 09:59:15 +0000
commit8ea12ad6c06ec9cce4bc470b40079546f18b61c8 (patch)
tree7040d88a5dc67e31495d4de802ce5bba8f9b1df8 /OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-8ea12ad6c06ec9cce4bc470b40079546f18b61c8.zip
opensim-SC_OLD-8ea12ad6c06ec9cce4bc470b40079546f18b61c8.tar.gz
opensim-SC_OLD-8ea12ad6c06ec9cce4bc470b40079546f18b61c8.tar.bz2
opensim-SC_OLD-8ea12ad6c06ec9cce4bc470b40079546f18b61c8.tar.xz
Add copyright header. Formatting cleanup. Ignore some generated files.
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 {