diff options
author | Justin Clark-Casey (justincc) | 2013-09-20 23:07:24 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-09-26 20:09:30 +0100 |
commit | afa9847288d546d3387235a66fae26f92f4f5e3d (patch) | |
tree | 422bb739aa6914bc2f2a061a51be55f112852132 | |
parent | Lock around read/write of ScenePresence.m_originRegionID to make sure that al... (diff) | |
download | opensim-SC_OLD-afa9847288d546d3387235a66fae26f92f4f5e3d.zip opensim-SC_OLD-afa9847288d546d3387235a66fae26f92f4f5e3d.tar.gz opensim-SC_OLD-afa9847288d546d3387235a66fae26f92f4f5e3d.tar.bz2 opensim-SC_OLD-afa9847288d546d3387235a66fae26f92f4f5e3d.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.
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs | 2 |
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 |