From 119f84fe11586f9abf76325e9466c8cd8f0d1a72 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 2 Jul 2013 17:03:04 -0700 Subject: Squoosh one last opportunity for Unknown Users to creep in. --- .../Framework/UserManagement/UserManagementModule.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs index 90af82e..e19631e 100644 --- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs +++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs @@ -532,7 +532,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement UserData user = new UserData(); user.Id = id; - if (creatorData != null && creatorData != string.Empty) + if (!string.IsNullOrEmpty(creatorData)) { //creatorData = ; @@ -553,14 +553,12 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement } if (parts.Length >= 2) user.FirstName = parts[1].Replace(' ', '.'); + + AddUserInternal(user); + } - else - { - user.FirstName = "Unknown"; - user.LastName = "UserUMMAU2"; - } + // else don't add the user to the cache, period. - AddUserInternal(user); } } -- cgit v1.1