* This fixes MSSQL for user friends lookups * Thanks StrawberryFride0.6.2-post-fixes
parent
a885d2a6ff
commit
e10de20772
|
@ -482,8 +482,8 @@ namespace OpenSim.Data.MSSQL
|
||||||
while (reader.Read())
|
while (reader.Read())
|
||||||
{
|
{
|
||||||
FriendRegionInfo fri = new FriendRegionInfo();
|
FriendRegionInfo fri = new FriendRegionInfo();
|
||||||
fri.isOnline = (sbyte)reader["agentOnline"] != 0;
|
fri.isOnline = (byte)reader["agentOnline"] != 0;
|
||||||
fri.regionHandle = (ulong)reader["currentHandle"];
|
fri.regionHandle = Convert.ToUInt64(reader["currentHandle"].ToString());
|
||||||
|
|
||||||
infos[uuid] = fri;
|
infos[uuid] = fri;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue