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.
0.7.6-extended
Justin Clark-Casey (justincc) 2013-09-20 23:07:24 +01:00
parent 111d1ba826
commit afa9847288
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