Fix an invalid argument exception in the remote admin module when.

Patch from CasperW
0.6.8-post-fixes
Melanie 2009-11-02 06:13:05 +00:00
parent 3c0881c83c
commit f4e9809b7d
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
&& ((string) requestData["shutdown"] == "delayed")
&& requestData.ContainsKey("milliseconds"))
{
timeout = (Int32) requestData["milliseconds"];
timeout = Int32.Parse(requestData["milliseconds"].ToString());
message
= "Region is going down in " + ((int) (timeout/1000)).ToString()