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.
varregion
Justin Clark-Casey (justincc) 2013-09-20 23:07:24 +01:00
parent c01db5fbdd
commit 8502517d80
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
Init(); Init();
m_log.DebugFormat("[USER MANAGEMENT MODULE]: {0} is enabled", Name); m_log.DebugFormat("[USER MANAGEMENT MODULE]: {0} is enabled", Name);
} }
AddUser(UUID.Zero, "Unknown", "User");
} }
public bool IsSharedModule public bool IsSharedModule