* This fixes MSSQL for user friends lookups
* Thanks StrawberryFride
0.6.2-post-fixes
Justin Clarke Casey 2009-01-14 14:53:42 +00:00
parent a885d2a6ff
commit e10de20772
1 changed files with 2 additions and 2 deletions

View File

@ -482,8 +482,8 @@ namespace OpenSim.Data.MSSQL
while (reader.Read())
{
FriendRegionInfo fri = new FriendRegionInfo();
fri.isOnline = (sbyte)reader["agentOnline"] != 0;
fri.regionHandle = (ulong)reader["currentHandle"];
fri.isOnline = (byte)reader["agentOnline"] != 0;
fri.regionHandle = Convert.ToUInt64(reader["currentHandle"].ToString());
infos[uuid] = fri;
}