aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-09-20 23:07:24 +0100
committerJustin Clark-Casey (justincc)2013-09-20 23:07:24 +0100
commit8502517d8081366dfc63756ae07cfe64a27a1eb0 (patch)
tree757112038b148cdd634eb40d726ecd14ef739ba2 /OpenSim
parentLock around read/write of ScenePresence.m_originRegionID to make sure that al... (diff)
downloadopensim-SC_OLD-8502517d8081366dfc63756ae07cfe64a27a1eb0.zip
opensim-SC_OLD-8502517d8081366dfc63756ae07cfe64a27a1eb0.tar.gz
opensim-SC_OLD-8502517d8081366dfc63756ae07cfe64a27a1eb0.tar.bz2
opensim-SC_OLD-8502517d8081366dfc63756ae07cfe64a27a1eb0.tar.xz
Make UUID.Zero resolve to "Unknown User" in user cache.
This is to avoid massive numbers of 'no user found' logs when user IDs are missing for some reason. UUID.Zero should not be used for any user ID.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
index bb2bbe3..96eb63f 100644
--- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
@@ -73,6 +73,8 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
73 Init(); 73 Init();
74 m_log.DebugFormat("[USER MANAGEMENT MODULE]: {0} is enabled", Name); 74 m_log.DebugFormat("[USER MANAGEMENT MODULE]: {0} is enabled", Name);
75 } 75 }
76
77 AddUser(UUID.Zero, "Unknown", "User");
76 } 78 }
77 79
78 public bool IsSharedModule 80 public bool IsSharedModule