*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
Sugilite
mingchen 2007-07-05 20:46:37 +00:00
parent 70d8731aa2
commit e2bafc8d6c
1 changed files with 2 additions and 2 deletions

View File

@ -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
{