diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLUserData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLUserData.cs b/OpenSim/Data/MSSQL/MSSQLUserData.cs index 01a17dc..4524736 100644 --- a/OpenSim/Data/MSSQL/MSSQLUserData.cs +++ b/OpenSim/Data/MSSQL/MSSQLUserData.cs | |||
@@ -482,8 +482,8 @@ namespace OpenSim.Data.MSSQL | |||
482 | while (reader.Read()) | 482 | while (reader.Read()) |
483 | { | 483 | { |
484 | FriendRegionInfo fri = new FriendRegionInfo(); | 484 | FriendRegionInfo fri = new FriendRegionInfo(); |
485 | fri.isOnline = (sbyte)reader["agentOnline"] != 0; | 485 | fri.isOnline = (byte)reader["agentOnline"] != 0; |
486 | fri.regionHandle = (ulong)reader["currentHandle"]; | 486 | fri.regionHandle = Convert.ToUInt64(reader["currentHandle"].ToString()); |
487 | 487 | ||
488 | infos[uuid] = fri; | 488 | infos[uuid] = fri; |
489 | } | 489 | } |