aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-09-17 00:02:36 +0100
committerJustin Clark-Casey (justincc)2013-09-17 00:02:36 +0100
commit69ec85f4911de3218e0efb910fdbb1725e81e4ae (patch)
tree9b2971751268312aa810f955ed6a1af5932806ac /OpenSim/Region/CoreModules
parentReinsert comments about possible race conditions when sending bulk inventory ... (diff)
downloadopensim-SC_OLD-69ec85f4911de3218e0efb910fdbb1725e81e4ae.zip
opensim-SC_OLD-69ec85f4911de3218e0efb910fdbb1725e81e4ae.tar.gz
opensim-SC_OLD-69ec85f4911de3218e0efb910fdbb1725e81e4ae.tar.bz2
opensim-SC_OLD-69ec85f4911de3218e0efb910fdbb1725e81e4ae.tar.xz
Fix issue in recent 3f0fa9f7 where the code start adding unknown user cache entries with no name
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
index 25e8d69..63f78ac 100644
--- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
@@ -602,8 +602,11 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
602 user.LastName = "@unknown"; 602 user.LastName = "@unknown";
603 } 603 }
604 } 604 }
605
605 if (parts.Length >= 2) 606 if (parts.Length >= 2)
606 user.FirstName = parts[1].Replace(' ', '.'); 607 user.FirstName = parts[1].Replace(' ', '.');
608
609 AddUserInternal(user);
607 } 610 }
608 611
609 // To avoid issues with clients, particularly Hypergrid ones, permanently caching 612 // To avoid issues with clients, particularly Hypergrid ones, permanently caching
@@ -618,8 +621,6 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
618// user.FirstName = "Unknown"; 621// user.FirstName = "Unknown";
619// user.LastName = "UserUMMAU4"; 622// user.LastName = "UserUMMAU4";
620// } 623// }
621
622 AddUserInternal(user);
623 } 624 }
624 } 625 }
625 626