diff options
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLUserData.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLUserData.cs b/OpenSim/Data/MSSQL/MSSQLUserData.cs index 69fd862..01a17dc 100644 --- a/OpenSim/Data/MSSQL/MSSQLUserData.cs +++ b/OpenSim/Data/MSSQL/MSSQLUserData.cs | |||
@@ -536,7 +536,6 @@ namespace OpenSim.Data.MSSQL | |||
536 | /// </summary> | 536 | /// </summary> |
537 | /// <param name="user">The user.</param> | 537 | /// <param name="user">The user.</param> |
538 | /// <returns></returns> | 538 | /// <returns></returns> |
539 | /// TODO: stubs for now to get us to a compiling state gently | ||
540 | override public AvatarAppearance GetUserAppearance(UUID user) | 539 | override public AvatarAppearance GetUserAppearance(UUID user) |
541 | { | 540 | { |
542 | try | 541 | try |
@@ -550,6 +549,12 @@ namespace OpenSim.Data.MSSQL | |||
550 | { | 549 | { |
551 | if (reader.Read()) | 550 | if (reader.Read()) |
552 | appearance = readUserAppearance(reader); | 551 | appearance = readUserAppearance(reader); |
552 | else | ||
553 | { | ||
554 | m_log.WarnFormat("[USER DB] No appearance found for user {0}", user.ToString()); | ||
555 | return null; | ||
556 | } | ||
557 | |||
553 | } | 558 | } |
554 | } | 559 | } |
555 | 560 | ||