diff options
author | Justin Clarke Casey | 2009-01-14 14:53:42 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-14 14:53:42 +0000 |
commit | e10de20772d2851813436aacfd11fa151d9112b2 (patch) | |
tree | 3947c5a7a206be184b6777eb2973a7dd9e724e1e | |
parent | Added a primitive shape function for spheres (diff) | |
download | opensim-SC-e10de20772d2851813436aacfd11fa151d9112b2.zip opensim-SC-e10de20772d2851813436aacfd11fa151d9112b2.tar.gz opensim-SC-e10de20772d2851813436aacfd11fa151d9112b2.tar.bz2 opensim-SC-e10de20772d2851813436aacfd11fa151d9112b2.tar.xz |
* Apply http://opensimulator.org/mantis/view.php?id=2995
* This fixes MSSQL for user friends lookups
* Thanks StrawberryFride
Diffstat (limited to '')
-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 | } |