Move adding UUID.Zero -> Unknown User binding to UMM.Init() so that it's also called by HGUserManagementModule

varregion
Justin Clark-Casey (justincc) 2013-09-25 21:53:38 +01:00
parent 32ddfc2740
commit b22c92368f
1 changed files with 1 additions and 2 deletions

View File

@ -73,8 +73,6 @@ 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
@ -645,6 +643,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
protected void Init() protected void Init()
{ {
AddUser(UUID.Zero, "Unknown", "User");
RegisterConsoleCmds(); RegisterConsoleCmds();
} }