Fix an invalid argument exception in the remote admin module when.
Patch from CasperW0.6.8-post-fixes
parent
3c0881c83c
commit
f4e9809b7d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue