From b22c92368f8991c174897306334c523bac8a4099 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Wed, 25 Sep 2013 21:53:38 +0100 Subject: [PATCH] Move adding UUID.Zero -> Unknown User binding to UMM.Init() so that it's also called by HGUserManagementModule --- .../Framework/UserManagement/UserManagementModule.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs index 96eb63fc39..d3926ccbd5 100644 --- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs +++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs @@ -73,8 +73,6 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement Init(); m_log.DebugFormat("[USER MANAGEMENT MODULE]: {0} is enabled", Name); } - - AddUser(UUID.Zero, "Unknown", "User"); } public bool IsSharedModule @@ -645,6 +643,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement protected void Init() { + AddUser(UUID.Zero, "Unknown", "User"); RegisterConsoleCmds(); }