From ee5f069e2a9ade289ef5b992e07946a7bbe7ddc0 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 24 Sep 2007 07:53:26 +0000 Subject: * Now there's only one UserService --- OpenSim/Region/Communications/Local/CommunicationsLocal.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs index ea972dc..4ddd9ea 100644 --- a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs +++ b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs @@ -40,7 +40,7 @@ namespace OpenSim.Region.Communications.Local public class CommunicationsLocal : CommunicationsManager { public LocalBackEndServices InstanceServices; - public IUserServices UserServices; + public LocalLoginService LoginServices; protected LocalSettings m_settings; @@ -63,8 +63,8 @@ namespace OpenSim.Region.Communications.Local LocalUserServices userService = new LocalUserServices(this, serversInfo); userService.AddPlugin(m_settings.UserDatabasePlugin); - UserServices = userService; - m_userService = UserServices; + + m_userService = userService; InstanceServices = new LocalBackEndServices(); m_gridService = InstanceServices; @@ -118,7 +118,7 @@ namespace OpenSim.Region.Communications.Local { string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(password) + ":" + ""); - this.UserServices.AddUserProfile(firstName, lastName, md5PasswdHash, regX, regY); + m_userService.AddUserProfile(firstName, lastName, md5PasswdHash, regX, regY); UserProfileData userProf = this.UserService.GetUserProfile(firstName, lastName); if (userProf == null) { -- cgit v1.1