diff options
author | Melanie | 2009-11-02 06:13:05 +0000 |
---|---|---|
committer | Melanie | 2009-11-02 06:13:05 +0000 |
commit | f4e9809b7d83024e5bf05b25ffe3ffd8bcd5c63d (patch) | |
tree | 7aa56889cbce963b6facfdd780e13e5ba3343649 /OpenSim | |
parent | * Committing missing file from last commit. (diff) | |
download | opensim-SC_OLD-f4e9809b7d83024e5bf05b25ffe3ffd8bcd5c63d.zip opensim-SC_OLD-f4e9809b7d83024e5bf05b25ffe3ffd8bcd5c63d.tar.gz opensim-SC_OLD-f4e9809b7d83024e5bf05b25ffe3ffd8bcd5c63d.tar.bz2 opensim-SC_OLD-f4e9809b7d83024e5bf05b25ffe3ffd8bcd5c63d.tar.xz |
Fix an invalid argument exception in the remote admin module when.
Patch from CasperW
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index f4e1db4..3c7727f 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -360,7 +360,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
360 | && ((string) requestData["shutdown"] == "delayed") | 360 | && ((string) requestData["shutdown"] == "delayed") |
361 | && requestData.ContainsKey("milliseconds")) | 361 | && requestData.ContainsKey("milliseconds")) |
362 | { | 362 | { |
363 | timeout = (Int32) requestData["milliseconds"]; | 363 | timeout = Int32.Parse(requestData["milliseconds"].ToString()); |
364 | 364 | ||
365 | message | 365 | message |
366 | = "Region is going down in " + ((int) (timeout/1000)).ToString() | 366 | = "Region is going down in " + ((int) (timeout/1000)).ToString() |