diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/Utils.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/Utils.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/Utils.cs b/OpenSim/Server/Handlers/Simulation/Utils.cs index 1f2f851..ed379da 100644 --- a/OpenSim/Server/Handlers/Simulation/Utils.cs +++ b/OpenSim/Server/Handlers/Simulation/Utils.cs | |||
@@ -46,11 +46,11 @@ namespace OpenSim.Server.Handlers.Simulation | |||
46 | /// <param name="uri">Something like this: /agent/uuid/ or /agent/uuid/handle/release</param> | 46 | /// <param name="uri">Something like this: /agent/uuid/ or /agent/uuid/handle/release</param> |
47 | /// <param name="uri">uuid on uuid field</param> | 47 | /// <param name="uri">uuid on uuid field</param> |
48 | /// <param name="action">optional action</param> | 48 | /// <param name="action">optional action</param> |
49 | public static bool GetParams(string uri, out UUID uuid, out ulong regionHandle, out string action) | 49 | public static bool GetParams(string uri, out UUID uuid, out UUID regionID, out string action) |
50 | { | 50 | { |
51 | uuid = UUID.Zero; | 51 | uuid = UUID.Zero; |
52 | regionID = UUID.Zero; | ||
52 | action = ""; | 53 | action = ""; |
53 | regionHandle = 0; | ||
54 | 54 | ||
55 | uri = uri.Trim(new char[] { '/' }); | 55 | uri = uri.Trim(new char[] { '/' }); |
56 | string[] parts = uri.Split('/'); | 56 | string[] parts = uri.Split('/'); |
@@ -64,7 +64,7 @@ namespace OpenSim.Server.Handlers.Simulation | |||
64 | return false; | 64 | return false; |
65 | 65 | ||
66 | if (parts.Length >= 3) | 66 | if (parts.Length >= 3) |
67 | UInt64.TryParse(parts[2], out regionHandle); | 67 | UUID.TryParse(parts[2], out regionID); |
68 | if (parts.Length >= 4) | 68 | if (parts.Length >= 4) |
69 | action = parts[3]; | 69 | action = parts[3]; |
70 | 70 | ||