From e2bafc8d6c37d48c7af6a30c28696adb145d3f00 Mon Sep 17 00:00:00 2001 From: mingchen Date: Thu, 5 Jul 2007 20:46:37 +0000 Subject: *Fixed crash of OpenSim client when in grid mode from a recent commit *The XML issue is now fixed (yay lbsa71) -- but I am still getting a "login packet never received", but that is probably an issue on my end, and not it the code --- OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Communications/OGS1') diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index e8ed7f4..4d93cc9 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs @@ -186,9 +186,9 @@ namespace OpenSim.Region.Communications.OGS1 } - if (listeners.ContainsKey((ulong)requestData["regionhandle"])) + if (listeners.ContainsKey(Convert.ToUInt64((string)requestData["regionhandle"]))) { - this.listeners[(ulong)requestData["regionhandle"]].TriggerExpectUser((ulong)requestData["regionhandle"], agentData); + this.listeners[Convert.ToUInt64((string)requestData["regionhandle"])].TriggerExpectUser(Convert.ToUInt64((string)requestData["regionhandle"]), agentData); } else { -- cgit v1.1