diff options
* Now there's only one UserService
Diffstat (limited to 'OpenSim/Region/Communications/Local/CommunicationsLocal.cs')
-rw-r--r-- | OpenSim/Region/Communications/Local/CommunicationsLocal.cs | 8 |
1 files 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 | |||
40 | public class CommunicationsLocal : CommunicationsManager | 40 | public class CommunicationsLocal : CommunicationsManager |
41 | { | 41 | { |
42 | public LocalBackEndServices InstanceServices; | 42 | public LocalBackEndServices InstanceServices; |
43 | public IUserServices UserServices; | 43 | |
44 | public LocalLoginService LoginServices; | 44 | public LocalLoginService LoginServices; |
45 | 45 | ||
46 | protected LocalSettings m_settings; | 46 | protected LocalSettings m_settings; |
@@ -63,8 +63,8 @@ namespace OpenSim.Region.Communications.Local | |||
63 | 63 | ||
64 | LocalUserServices userService = new LocalUserServices(this, serversInfo); | 64 | LocalUserServices userService = new LocalUserServices(this, serversInfo); |
65 | userService.AddPlugin(m_settings.UserDatabasePlugin); | 65 | userService.AddPlugin(m_settings.UserDatabasePlugin); |
66 | UserServices = userService; | 66 | |
67 | m_userService = UserServices; | 67 | m_userService = userService; |
68 | 68 | ||
69 | InstanceServices = new LocalBackEndServices(); | 69 | InstanceServices = new LocalBackEndServices(); |
70 | m_gridService = InstanceServices; | 70 | m_gridService = InstanceServices; |
@@ -118,7 +118,7 @@ namespace OpenSim.Region.Communications.Local | |||
118 | { | 118 | { |
119 | string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(password) + ":" + ""); | 119 | string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(password) + ":" + ""); |
120 | 120 | ||
121 | this.UserServices.AddUserProfile(firstName, lastName, md5PasswdHash, regX, regY); | 121 | m_userService.AddUserProfile(firstName, lastName, md5PasswdHash, regX, regY); |
122 | UserProfileData userProf = this.UserService.GetUserProfile(firstName, lastName); | 122 | UserProfileData userProf = this.UserService.GetUserProfile(firstName, lastName); |
123 | if (userProf == null) | 123 | if (userProf == null) |
124 | { | 124 | { |