From aa59dfb1d2090b5c58683f1facc8223612c3a868 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 29 Jul 2008 18:01:12 +0000 Subject: [PATCH] * minor: route create user through underlying super class method rather than calling communications manager directly --- OpenSim/Region/Application/OpenSim.cs | 2 +- OpenSim/Region/Application/OpenSimBase.cs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 71a941efb7..622573cdfc 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -701,7 +701,7 @@ namespace OpenSim if (null == m_commsManager.UserService.GetUserProfile(firstName, lastName)) { - m_commsManager.AddUser(firstName, lastName, password, regX, regY); + CreateUser(firstName, lastName, password, regX, regY); } else { diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 8de7c58841..aa641e1a35 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -437,7 +437,7 @@ namespace OpenSim public LLUUID CreateUser(string tempfirstname, string templastname, string tempPasswd, uint regX, uint regY) { - return m_commsManager.AddUser(tempfirstname,templastname,tempPasswd,regX,regY); + return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, regX, regY); } /// @@ -584,7 +584,6 @@ namespace OpenSim storageManager, m_httpServer, m_moduleLoader, m_dumpAssetsToFile, m_physicalPrim, m_see_into_region_from_neighbor, m_config.Source, m_version); - } public void handleRestartRegion(RegionInfo whichRegion) @@ -735,7 +734,3 @@ namespace OpenSim } } } - - - -