aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins
diff options
context:
space:
mode:
authorDr Scofield2009-05-07 15:54:13 +0000
committerDr Scofield2009-05-07 15:54:13 +0000
commit84815ab2715dba9a29cf6898dd8d9e6b11e53b1a (patch)
tree756b97e583bb901aecc20b087e380982a5ffc1da /OpenSim/ApplicationPlugins
parent* minor: Quieten down temporary profile resolver to only log when it's actual... (diff)
downloadopensim-SC_OLD-84815ab2715dba9a29cf6898dd8d9e6b11e53b1a.zip
opensim-SC_OLD-84815ab2715dba9a29cf6898dd8d9e6b11e53b1a.tar.gz
opensim-SC_OLD-84815ab2715dba9a29cf6898dd8d9e6b11e53b1a.tar.bz2
opensim-SC_OLD-84815ab2715dba9a29cf6898dd8d9e6b11e53b1a.tar.xz
RemoteAdminPlugin was using a mixture of both "true"/"false" and 0/1
(XmlRpc boolean encoding) to return boolean values --- sometimes both variants in the SAME XmlRpc method! As XmlRpc DOES have a proper encoding for boolean, i think we should use that --- having a mixture of both is a bad thing in any case. this patch changes all "true"/"false" boolean "encodings" to just true/false which will be properly encoded by XmlRpc. BIG FAT NOTE: this might/will break existing customers of RemoteAdminPlugin --- make sure your scripts, apps, etc get updated accordingly (unless you have already been dealing with this mess before)
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs102
1 files changed, 51 insertions, 51 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index b508c5c..15f4308 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -184,8 +184,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
184 184
185 UUID regionID = new UUID((string) requestData["regionID"]); 185 UUID regionID = new UUID((string) requestData["regionID"]);
186 186
187 responseData["accepted"] = "true"; 187 responseData["accepted"] = true;
188 responseData["success"] = "true"; 188 responseData["success"] = true;
189 response.Value = responseData; 189 response.Value = responseData;
190 190
191 Scene rebootedScene; 191 Scene rebootedScene;
@@ -193,7 +193,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
193 if (!m_app.SceneManager.TryGetScene(regionID, out rebootedScene)) 193 if (!m_app.SceneManager.TryGetScene(regionID, out rebootedScene))
194 throw new Exception("region not found"); 194 throw new Exception("region not found");
195 195
196 responseData["rebooting"] = "true"; 196 responseData["rebooting"] = true;
197 response.Value = responseData; 197 response.Value = responseData;
198 rebootedScene.Restart(30); 198 rebootedScene.Restart(30);
199 } 199 }
@@ -201,9 +201,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController
201 { 201 {
202 m_log.ErrorFormat("[RADMIN]: Restart region: failed: {0}", e.Message); 202 m_log.ErrorFormat("[RADMIN]: Restart region: failed: {0}", e.Message);
203 m_log.DebugFormat("[RADMIN]: Restart region: failed: {0}", e.ToString()); 203 m_log.DebugFormat("[RADMIN]: Restart region: failed: {0}", e.ToString());
204 responseData["accepted"] = "false"; 204 responseData["accepted"] = false;
205 responseData["success"] = "false"; 205 responseData["success"] = false;
206 responseData["rebooting"] = "false"; 206 responseData["rebooting"] = false;
207 responseData["error"] = e.Message; 207 responseData["error"] = e.Message;
208 response.Value = responseData; 208 response.Value = responseData;
209 } 209 }
@@ -232,8 +232,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
232 string message = (string) requestData["message"]; 232 string message = (string) requestData["message"];
233 m_log.InfoFormat("[RADMIN]: Broadcasting: {0}", message); 233 m_log.InfoFormat("[RADMIN]: Broadcasting: {0}", message);
234 234
235 responseData["accepted"] = "true"; 235 responseData["accepted"] = true;
236 responseData["success"] = "true"; 236 responseData["success"] = true;
237 response.Value = responseData; 237 response.Value = responseData;
238 238
239 m_app.SceneManager.ForEachScene( 239 m_app.SceneManager.ForEachScene(
@@ -249,8 +249,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
249 m_log.ErrorFormat("[RADMIN]: Broadcasting: failed: {0}", e.Message); 249 m_log.ErrorFormat("[RADMIN]: Broadcasting: failed: {0}", e.Message);
250 m_log.DebugFormat("[RADMIN]: Broadcasting: failed: {0}", e.ToString()); 250 m_log.DebugFormat("[RADMIN]: Broadcasting: failed: {0}", e.ToString());
251 251
252 responseData["accepted"] = "false"; 252 responseData["accepted"] = false;
253 responseData["success"] = "false"; 253 responseData["success"] = false;
254 responseData["error"] = e.Message; 254 responseData["error"] = e.Message;
255 response.Value = responseData; 255 response.Value = responseData;
256 } 256 }
@@ -287,7 +287,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
287 UUID regionID = (UUID) (string) requestData["regionid"]; 287 UUID regionID = (UUID) (string) requestData["regionid"];
288 m_log.InfoFormat("[RADMIN]: Terrain Loading: {0}", file); 288 m_log.InfoFormat("[RADMIN]: Terrain Loading: {0}", file);
289 289
290 responseData["accepted"] = "true"; 290 responseData["accepted"] = true;
291 291
292 Scene region = null; 292 Scene region = null;
293 293
@@ -298,7 +298,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
298 if (null == terrainModule) throw new Exception("terrain module not available"); 298 if (null == terrainModule) throw new Exception("terrain module not available");
299 terrainModule.LoadFromFile(file); 299 terrainModule.LoadFromFile(file);
300 300
301 responseData["success"] = "true"; 301 responseData["success"] = false;
302 302
303 response.Value = responseData; 303 response.Value = responseData;
304 } 304 }
@@ -307,7 +307,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
307 m_log.ErrorFormat("[RADMIN] Terrain Loading: failed: {0}", e.Message); 307 m_log.ErrorFormat("[RADMIN] Terrain Loading: failed: {0}", e.Message);
308 m_log.DebugFormat("[RADMIN] Terrain Loading: failed: {0}", e.ToString()); 308 m_log.DebugFormat("[RADMIN] Terrain Loading: failed: {0}", e.ToString());
309 309
310 responseData["success"] = "false"; 310 responseData["success"] = false;
311 responseData["error"] = e.Message; 311 responseData["error"] = e.Message;
312 } 312 }
313 313
@@ -332,7 +332,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
332 (!requestData.Contains("password") || (string) requestData["password"] != m_requiredPassword)) 332 (!requestData.Contains("password") || (string) requestData["password"] != m_requiredPassword))
333 throw new Exception("wrong password"); 333 throw new Exception("wrong password");
334 334
335 responseData["accepted"] = "true"; 335 responseData["accepted"] = true;
336 response.Value = responseData; 336 response.Value = responseData;
337 337
338 int timeout = 2000; 338 int timeout = 2000;
@@ -367,14 +367,14 @@ namespace OpenSim.ApplicationPlugins.RemoteController
367 shutdownTimer.Elapsed += new ElapsedEventHandler(shutdownTimer_Elapsed); 367 shutdownTimer.Elapsed += new ElapsedEventHandler(shutdownTimer_Elapsed);
368 shutdownTimer.Start(); 368 shutdownTimer.Start();
369 369
370 responseData["success"] = "true"; 370 responseData["success"] = true;
371 } 371 }
372 catch (Exception e) 372 catch (Exception e)
373 { 373 {
374 m_log.ErrorFormat("[RADMIN] Shutdown: failed: {0}", e.Message); 374 m_log.ErrorFormat("[RADMIN] Shutdown: failed: {0}", e.Message);
375 m_log.DebugFormat("[RADMIN] Shutdown: failed: {0}", e.ToString()); 375 m_log.DebugFormat("[RADMIN] Shutdown: failed: {0}", e.ToString());
376 376
377 responseData["accepted"] = "false"; 377 responseData["accepted"] = false;
378 responseData["error"] = e.Message; 378 responseData["error"] = e.Message;
379 379
380 response.Value = responseData; 380 response.Value = responseData;
@@ -631,7 +631,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
631 } 631 }
632 } 632 }
633 633
634 responseData["success"] = "true"; 634 responseData["success"] = true;
635 responseData["region_name"] = region.RegionName; 635 responseData["region_name"] = region.RegionName;
636 responseData["region_uuid"] = region.RegionID.ToString(); 636 responseData["region_uuid"] = region.RegionID.ToString();
637 637
@@ -642,7 +642,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
642 m_log.ErrorFormat("[RADMIN] CreateRegion: failed {0}", e.Message); 642 m_log.ErrorFormat("[RADMIN] CreateRegion: failed {0}", e.Message);
643 m_log.DebugFormat("[RADMIN] CreateRegion: failed {0}", e.ToString()); 643 m_log.DebugFormat("[RADMIN] CreateRegion: failed {0}", e.ToString());
644 644
645 responseData["success"] = "false"; 645 responseData["success"] = false;
646 responseData["error"] = e.Message; 646 responseData["error"] = e.Message;
647 647
648 response.Value = responseData; 648 response.Value = responseData;
@@ -699,7 +699,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
699 699
700 m_app.RemoveRegion(scene, true); 700 m_app.RemoveRegion(scene, true);
701 701
702 responseData["success"] = "true"; 702 responseData["success"] = true;
703 responseData["region_name"] = regionName; 703 responseData["region_name"] = regionName;
704 704
705 response.Value = responseData; 705 response.Value = responseData;
@@ -709,7 +709,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
709 m_log.ErrorFormat("[RADMIN] DeleteRegion: failed {0}", e.Message); 709 m_log.ErrorFormat("[RADMIN] DeleteRegion: failed {0}", e.Message);
710 m_log.DebugFormat("[RADMIN] DeleteRegion: failed {0}", e.ToString()); 710 m_log.DebugFormat("[RADMIN] DeleteRegion: failed {0}", e.ToString());
711 711
712 responseData["success"] = "false"; 712 responseData["success"] = false;
713 responseData["error"] = e.Message; 713 responseData["error"] = e.Message;
714 714
715 response.Value = responseData; 715 response.Value = responseData;
@@ -795,7 +795,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
795 } 795 }
796 } 796 }
797 797
798 responseData["success"] = "true"; 798 responseData["success"] = true;
799 responseData["region_name"] = regionName; 799 responseData["region_name"] = regionName;
800 800
801 response.Value = responseData; 801 response.Value = responseData;
@@ -805,7 +805,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
805 m_log.ErrorFormat("[RADMIN] ModifyRegion: failed {0}", e.Message); 805 m_log.ErrorFormat("[RADMIN] ModifyRegion: failed {0}", e.Message);
806 m_log.DebugFormat("[RADMIN] ModifyRegion: failed {0}", e.ToString()); 806 m_log.DebugFormat("[RADMIN] ModifyRegion: failed {0}", e.ToString());
807 807
808 responseData["success"] = "false"; 808 responseData["success"] = false;
809 responseData["error"] = e.Message; 809 responseData["error"] = e.Message;
810 810
811 response.Value = responseData; 811 response.Value = responseData;
@@ -907,7 +907,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
907 907
908 updateUserAppearance(responseData, requestData, userID); 908 updateUserAppearance(responseData, requestData, userID);
909 909
910 responseData["success"] = "true"; 910 responseData["success"] = true;
911 responseData["avatar_uuid"] = userID.ToString(); 911 responseData["avatar_uuid"] = userID.ToString();
912 912
913 response.Value = responseData; 913 response.Value = responseData;
@@ -919,7 +919,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
919 m_log.ErrorFormat("[RADMIN] CreateUser: failed: {0}", e.Message); 919 m_log.ErrorFormat("[RADMIN] CreateUser: failed: {0}", e.Message);
920 m_log.DebugFormat("[RADMIN] CreateUser: failed: {0}", e.ToString()); 920 m_log.DebugFormat("[RADMIN] CreateUser: failed: {0}", e.ToString());
921 921
922 responseData["success"] = "false"; 922 responseData["success"] = false;
923 responseData["avatar_uuid"] = UUID.Zero.ToString(); 923 responseData["avatar_uuid"] = UUID.Zero.ToString();
924 responseData["error"] = e.Message; 924 responseData["error"] = e.Message;
925 925
@@ -994,7 +994,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
994 m_log.ErrorFormat("[RADMIN] UserExists: failed: {0}", e.Message); 994 m_log.ErrorFormat("[RADMIN] UserExists: failed: {0}", e.Message);
995 m_log.DebugFormat("[RADMIN] UserExists: failed: {0}", e.ToString()); 995 m_log.DebugFormat("[RADMIN] UserExists: failed: {0}", e.ToString());
996 996
997 responseData["success"] = "false"; 997 responseData["success"] = false;
998 responseData["error"] = e.Message; 998 responseData["error"] = e.Message;
999 999
1000 response.Value = responseData; 1000 response.Value = responseData;
@@ -1140,7 +1140,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1140 if (!m_app.CommunicationsManager.UserService.UpdateUserProfile(userProfile)) 1140 if (!m_app.CommunicationsManager.UserService.UpdateUserProfile(userProfile))
1141 throw new Exception("did not manage to update user profile"); 1141 throw new Exception("did not manage to update user profile");
1142 1142
1143 responseData["success"] = "true"; 1143 responseData["success"] = true;
1144 1144
1145 response.Value = responseData; 1145 response.Value = responseData;
1146 1146
@@ -1153,7 +1153,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1153 m_log.ErrorFormat("[RADMIN] UpdateUserAccount: failed: {0}", e.Message); 1153 m_log.ErrorFormat("[RADMIN] UpdateUserAccount: failed: {0}", e.Message);
1154 m_log.DebugFormat("[RADMIN] UpdateUserAccount: failed: {0}", e.ToString()); 1154 m_log.DebugFormat("[RADMIN] UpdateUserAccount: failed: {0}", e.ToString());
1155 1155
1156 responseData["success"] = "false"; 1156 responseData["success"] = false;
1157 responseData["error"] = e.Message; 1157 responseData["error"] = e.Message;
1158 1158
1159 response.Value = responseData; 1159 response.Value = responseData;
@@ -1747,7 +1747,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1747 else 1747 else
1748 throw new Exception("Archiver module not present for scene"); 1748 throw new Exception("Archiver module not present for scene");
1749 1749
1750 responseData["loaded"] = "true"; 1750 responseData["loaded"] = true;
1751 1751
1752 response.Value = responseData; 1752 response.Value = responseData;
1753 } 1753 }
@@ -1756,7 +1756,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1756 m_log.InfoFormat("[RADMIN] LoadOAR: {0}", e.Message); 1756 m_log.InfoFormat("[RADMIN] LoadOAR: {0}", e.Message);
1757 m_log.DebugFormat("[RADMIN] LoadOAR: {0}", e.ToString()); 1757 m_log.DebugFormat("[RADMIN] LoadOAR: {0}", e.ToString());
1758 1758
1759 responseData["loaded"] = "false"; 1759 responseData["loaded"] = false;
1760 responseData["error"] = e.Message; 1760 responseData["error"] = e.Message;
1761 1761
1762 response.Value = responseData; 1762 response.Value = responseData;
@@ -1844,7 +1844,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1844 else 1844 else
1845 throw new Exception("Archiver module not present for scene"); 1845 throw new Exception("Archiver module not present for scene");
1846 1846
1847 responseData["saved"] = "true"; 1847 responseData["saved"] = true;
1848 1848
1849 response.Value = responseData; 1849 response.Value = responseData;
1850 } 1850 }
@@ -1853,7 +1853,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1853 m_log.InfoFormat("[RADMIN] SaveOAR: {0}", e.Message); 1853 m_log.InfoFormat("[RADMIN] SaveOAR: {0}", e.Message);
1854 m_log.DebugFormat("[RADMIN] SaveOAR: {0}", e.ToString()); 1854 m_log.DebugFormat("[RADMIN] SaveOAR: {0}", e.ToString());
1855 1855
1856 responseData["saved"] = "false"; 1856 responseData["saved"] = false;
1857 responseData["error"] = e.Message; 1857 responseData["error"] = e.Message;
1858 1858
1859 response.Value = responseData; 1859 response.Value = responseData;
@@ -1905,7 +1905,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1905 } 1905 }
1906 else throw new Exception("neither region_name nor region_uuid given"); 1906 else throw new Exception("neither region_name nor region_uuid given");
1907 1907
1908 responseData["switched"] = "true"; 1908 responseData["switched"] = true;
1909 1909
1910 string xml_version = "1"; 1910 string xml_version = "1";
1911 if (requestData.Contains("xml_version")) 1911 if (requestData.Contains("xml_version"))
@@ -1927,7 +1927,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1927 throw new Exception(String.Format("unknown Xml{0} format", xml_version)); 1927 throw new Exception(String.Format("unknown Xml{0} format", xml_version));
1928 } 1928 }
1929 1929
1930 responseData["loaded"] = "true"; 1930 responseData["loaded"] = true;
1931 response.Value = responseData; 1931 response.Value = responseData;
1932 } 1932 }
1933 catch (Exception e) 1933 catch (Exception e)
@@ -1935,8 +1935,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1935 m_log.InfoFormat("[RADMIN] LoadXml: {0}", e.Message); 1935 m_log.InfoFormat("[RADMIN] LoadXml: {0}", e.Message);
1936 m_log.DebugFormat("[RADMIN] LoadXml: {0}", e.ToString()); 1936 m_log.DebugFormat("[RADMIN] LoadXml: {0}", e.ToString());
1937 1937
1938 responseData["loaded"] = "false"; 1938 responseData["loaded"] = false;
1939 responseData["switched"] = "false"; 1939 responseData["switched"] = false;
1940 responseData["error"] = e.Message; 1940 responseData["error"] = e.Message;
1941 1941
1942 response.Value = responseData; 1942 response.Value = responseData;
@@ -1988,7 +1988,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1988 } 1988 }
1989 else throw new Exception("neither region_name nor region_uuid given"); 1989 else throw new Exception("neither region_name nor region_uuid given");
1990 1990
1991 responseData["switched"] = "true"; 1991 responseData["switched"] = true;
1992 1992
1993 string xml_version = "1"; 1993 string xml_version = "1";
1994 if (requestData.Contains("xml_version")) 1994 if (requestData.Contains("xml_version"))
@@ -2010,7 +2010,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2010 throw new Exception(String.Format("unknown Xml{0} format", xml_version)); 2010 throw new Exception(String.Format("unknown Xml{0} format", xml_version));
2011 } 2011 }
2012 2012
2013 responseData["saved"] = "true"; 2013 responseData["saved"] = true;
2014 2014
2015 response.Value = responseData; 2015 response.Value = responseData;
2016 } 2016 }
@@ -2019,8 +2019,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2019 m_log.InfoFormat("[RADMIN] SaveXml: {0}", e.Message); 2019 m_log.InfoFormat("[RADMIN] SaveXml: {0}", e.Message);
2020 m_log.DebugFormat("[RADMIN] SaveXml: {0}", e.ToString()); 2020 m_log.DebugFormat("[RADMIN] SaveXml: {0}", e.ToString());
2021 2021
2022 responseData["saved"] = "false"; 2022 responseData["saved"] = false;
2023 responseData["switched"] = "false"; 2023 responseData["switched"] = false;
2024 responseData["error"] = e.Message; 2024 responseData["error"] = e.Message;
2025 2025
2026 response.Value = responseData; 2026 response.Value = responseData;
@@ -2038,7 +2038,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2038 2038
2039 try 2039 try
2040 { 2040 {
2041 responseData["success"] = "true"; 2041 responseData["success"] = true;
2042 2042
2043 Hashtable requestData = (Hashtable) request.Params[0]; 2043 Hashtable requestData = (Hashtable) request.Params[0];
2044 2044
@@ -2076,7 +2076,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2076 { 2076 {
2077 m_log.InfoFormat("[RADMIN] RegionQuery: {0}", e.Message); 2077 m_log.InfoFormat("[RADMIN] RegionQuery: {0}", e.Message);
2078 2078
2079 responseData["success"] = "false"; 2079 responseData["success"] = false;
2080 responseData["error"] = e.Message; 2080 responseData["error"] = e.Message;
2081 2081
2082 response.Value = responseData; 2082 response.Value = responseData;
@@ -2094,7 +2094,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2094 2094
2095 try 2095 try
2096 { 2096 {
2097 responseData["success"] = "true"; 2097 responseData["success"] = true;
2098 2098
2099 Hashtable requestData = (Hashtable) request.Params[0]; 2099 Hashtable requestData = (Hashtable) request.Params[0];
2100 2100
@@ -2114,7 +2114,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2114 { 2114 {
2115 m_log.InfoFormat("[RADMIN] ConsoleCommand: {0}", e.Message); 2115 m_log.InfoFormat("[RADMIN] ConsoleCommand: {0}", e.Message);
2116 2116
2117 responseData["success"] = "false"; 2117 responseData["success"] = false;
2118 responseData["error"] = e.Message; 2118 responseData["error"] = e.Message;
2119 2119
2120 response.Value = responseData; 2120 response.Value = responseData;
@@ -2133,7 +2133,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2133 2133
2134 try 2134 try
2135 { 2135 {
2136 responseData["success"] = "true"; 2136 responseData["success"] = true;
2137 2137
2138 Hashtable requestData = (Hashtable) request.Params[0]; 2138 Hashtable requestData = (Hashtable) request.Params[0];
2139 2139
@@ -2166,7 +2166,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2166 { 2166 {
2167 m_log.InfoFormat("[RADMIN] Access List Clear Request: {0}", e.Message); 2167 m_log.InfoFormat("[RADMIN] Access List Clear Request: {0}", e.Message);
2168 2168
2169 responseData["success"] = "false"; 2169 responseData["success"] = false;
2170 responseData["error"] = e.Message; 2170 responseData["error"] = e.Message;
2171 2171
2172 } 2172 }
@@ -2188,7 +2188,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2188 2188
2189 try 2189 try
2190 { 2190 {
2191 responseData["success"] = "true"; 2191 responseData["success"] = true;
2192 2192
2193 Hashtable requestData = (Hashtable) request.Params[0]; 2193 Hashtable requestData = (Hashtable) request.Params[0];
2194 2194
@@ -2249,7 +2249,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2249 { 2249 {
2250 m_log.InfoFormat("[RADMIN] Access List Add Request: {0}", e.Message); 2250 m_log.InfoFormat("[RADMIN] Access List Add Request: {0}", e.Message);
2251 2251
2252 responseData["success"] = "false"; 2252 responseData["success"] = false;
2253 responseData["error"] = e.Message; 2253 responseData["error"] = e.Message;
2254 2254
2255 } 2255 }
@@ -2271,7 +2271,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2271 2271
2272 try 2272 try
2273 { 2273 {
2274 responseData["success"] = "true"; 2274 responseData["success"] = true;
2275 2275
2276 Hashtable requestData = (Hashtable) request.Params[0]; 2276 Hashtable requestData = (Hashtable) request.Params[0];
2277 2277
@@ -2333,7 +2333,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2333 { 2333 {
2334 m_log.InfoFormat("[RADMIN] Access List Remove Request: {0}", e.Message); 2334 m_log.InfoFormat("[RADMIN] Access List Remove Request: {0}", e.Message);
2335 2335
2336 responseData["success"] = "false"; 2336 responseData["success"] = false;
2337 responseData["error"] = e.Message; 2337 responseData["error"] = e.Message;
2338 2338
2339 } 2339 }
@@ -2355,7 +2355,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2355 2355
2356 try 2356 try
2357 { 2357 {
2358 responseData["success"] = "true"; 2358 responseData["success"] = true;
2359 2359
2360 Hashtable requestData = (Hashtable) request.Params[0]; 2360 Hashtable requestData = (Hashtable) request.Params[0];
2361 2361
@@ -2400,7 +2400,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
2400 { 2400 {
2401 m_log.InfoFormat("[RADMIN] Acces List List: {0}", e.Message); 2401 m_log.InfoFormat("[RADMIN] Acces List List: {0}", e.Message);
2402 2402
2403 responseData["success"] = "false"; 2403 responseData["success"] = false;
2404 responseData["error"] = e.Message; 2404 responseData["error"] = e.Message;
2405 2405
2406 } 2406 }