From f4e9809b7d83024e5bf05b25ffe3ffd8bcd5c63d Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 2 Nov 2009 06:13:05 +0000 Subject: Fix an invalid argument exception in the remote admin module when. Patch from CasperW --- OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/ApplicationPlugins/RemoteController') 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 && ((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() -- cgit v1.1