diff options
author | Melanie | 2012-09-29 19:21:07 +0100 |
---|---|---|
committer | Melanie | 2012-09-29 19:21:07 +0100 |
commit | 71dd55a1ce8560dba3fbab76e25bbeaf974f422a (patch) | |
tree | b1c3759d25e29b8ab9b2c61da3f408c6aa7803f4 /OpenSim/ApplicationPlugins | |
parent | Merge branch 'avination' into careminster (diff) | |
parent | Get rid of some unnecessary casts in RemoteAdminPlugin. (diff) | |
download | opensim-SC-71dd55a1ce8560dba3fbab76e25bbeaf974f422a.zip opensim-SC-71dd55a1ce8560dba3fbab76e25bbeaf974f422a.tar.gz opensim-SC-71dd55a1ce8560dba3fbab76e25bbeaf974f422a.tar.bz2 opensim-SC-71dd55a1ce8560dba3fbab76e25bbeaf974f422a.tar.xz |
Merge branch 'master' into careminster
Conflicts:
CONTRIBUTORS.txt
OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 4473ee0..9c933ee 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -696,7 +696,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
696 | 696 | ||
697 | region.ExternalHostName = (string) requestData["external_address"]; | 697 | region.ExternalHostName = (string) requestData["external_address"]; |
698 | 698 | ||
699 | bool persist = Convert.ToBoolean((string) requestData["persist"]); | 699 | bool persist = Convert.ToBoolean(requestData["persist"]); |
700 | if (persist) | 700 | if (persist) |
701 | { | 701 | { |
702 | // default place for region configuration files is in the | 702 | // default place for region configuration files is in the |
@@ -1105,8 +1105,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1105 | string lastName = (string) requestData["user_lastname"]; | 1105 | string lastName = (string) requestData["user_lastname"]; |
1106 | string password = (string) requestData["user_password"]; | 1106 | string password = (string) requestData["user_password"]; |
1107 | 1107 | ||
1108 | uint regionXLocation = Convert.ToUInt32((Int32) requestData["start_region_x"]); | 1108 | uint regionXLocation = Convert.ToUInt32(requestData["start_region_x"]); |
1109 | uint regionYLocation = Convert.ToUInt32((Int32) requestData["start_region_y"]); | 1109 | uint regionYLocation = Convert.ToUInt32(requestData["start_region_y"]); |
1110 | 1110 | ||
1111 | string email = ""; // empty string for email | 1111 | string email = ""; // empty string for email |
1112 | if (requestData.Contains("user_email")) | 1112 | if (requestData.Contains("user_email")) |
@@ -1303,9 +1303,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1303 | 1303 | ||
1304 | if (requestData.ContainsKey("user_password")) password = (string) requestData["user_password"]; | 1304 | if (requestData.ContainsKey("user_password")) password = (string) requestData["user_password"]; |
1305 | if (requestData.ContainsKey("start_region_x")) | 1305 | if (requestData.ContainsKey("start_region_x")) |
1306 | regionXLocation = Convert.ToUInt32((Int32) requestData["start_region_x"]); | 1306 | regionXLocation = Convert.ToUInt32(requestData["start_region_x"]); |
1307 | if (requestData.ContainsKey("start_region_y")) | 1307 | if (requestData.ContainsKey("start_region_y")) |
1308 | regionYLocation = Convert.ToUInt32((Int32) requestData["start_region_y"]); | 1308 | regionYLocation = Convert.ToUInt32(requestData["start_region_y"]); |
1309 | 1309 | ||
1310 | // if (requestData.ContainsKey("start_lookat_x")) | 1310 | // if (requestData.ContainsKey("start_lookat_x")) |
1311 | // ulaX = Convert.ToUInt32((Int32) requestData["start_lookat_x"]); | 1311 | // ulaX = Convert.ToUInt32((Int32) requestData["start_lookat_x"]); |