aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalLoginService.cs
diff options
context:
space:
mode:
authorlbsa712007-12-27 21:41:48 +0000
committerlbsa712007-12-27 21:41:48 +0000
commitefd90b56b761219af6425b1c7a2cdd3b6ffb4de2 (patch)
treebf5b897e1e3c13211e3e2fc61d30508b94c928c0 /OpenSim/Region/Communications/Local/LocalLoginService.cs
parent* removed always true if (diff)
downloadopensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.zip
opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.gz
opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.bz2
opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.xz
* Optimized usings
* shortened references * Removed redundant 'this' * Normalized EOF
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalLoginService.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalLoginService.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs
index 2c08707..bf5f205 100644
--- a/OpenSim/Region/Communications/Local/LocalLoginService.cs
+++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs
@@ -73,7 +73,7 @@ namespace OpenSim.Region.Communications.Local
73 if (!authUsers) 73 if (!authUsers)
74 { 74 {
75 //no current user account so make one 75 //no current user account so make one
76 MainLog.Instance.Notice("LOGIN", "No user account found so creating a new one."); 76 MainLog.Instance.Notice("LOGIN", "No user account found so creating a new one.");
77 77
78 m_userManager.AddUserProfile(firstname, lastname, "test", defaultHomeX, defaultHomeY); 78 m_userManager.AddUserProfile(firstname, lastname, "test", defaultHomeX, defaultHomeY);
79 79
@@ -93,14 +93,14 @@ namespace OpenSim.Region.Communications.Local
93 if (!authUsers) 93 if (!authUsers)
94 { 94 {
95 //for now we will accept any password in sandbox mode 95 //for now we will accept any password in sandbox mode
96 MainLog.Instance.Notice("LOGIN", "Authorising user (no actual password check)"); 96 MainLog.Instance.Notice("LOGIN", "Authorising user (no actual password check)");
97 97
98 return true; 98 return true;
99 } 99 }
100 else 100 else
101 { 101 {
102 MainLog.Instance.Notice( 102 MainLog.Instance.Notice(
103 "LOGIN", "Authenticating " + profile.username + " " + profile.surname); 103 "LOGIN", "Authenticating " + profile.username + " " + profile.surname);
104 104
105 password = password.Remove(0, 3); //remove $1$ 105 password = password.Remove(0, 3); //remove $1$
106 106
@@ -134,7 +134,7 @@ namespace OpenSim.Region.Communications.Local
134 // response.SeedCapability = "http://" + reg.ExternalHostName + ":" + this.serversInfo.HttpListenerPort.ToString() + "/CapsSeed/" + capsPath + "0000/"; 134 // response.SeedCapability = "http://" + reg.ExternalHostName + ":" + this.serversInfo.HttpListenerPort.ToString() + "/CapsSeed/" + capsPath + "0000/";
135 theUser.currentAgent.currentRegion = reg.RegionID; 135 theUser.currentAgent.currentRegion = reg.RegionID;
136 theUser.currentAgent.currentHandle = reg.RegionHandle; 136 theUser.currentAgent.currentHandle = reg.RegionHandle;
137 137
138 LoginResponse.BuddyList buddyList = new LoginResponse.BuddyList(); 138 LoginResponse.BuddyList buddyList = new LoginResponse.BuddyList();
139 buddyList.AddNewBuddy(new LoginResponse.BuddyList.BuddyInfo("11111111-1111-0000-0000-000100bba000")); 139 buddyList.AddNewBuddy(new LoginResponse.BuddyList.BuddyInfo("11111111-1111-0000-0000-000100bba000"));
140 response.BuddList = buddyList; 140 response.BuddList = buddyList;
@@ -157,7 +157,7 @@ namespace OpenSim.Region.Communications.Local
157 } 157 }
158 else 158 else
159 { 159 {
160 MainLog.Instance.Warn("LOGIN", "Not found region " + currentRegion); 160 MainLog.Instance.Warn("LOGIN", "Not found region " + currentRegion);
161 } 161 }
162 } 162 }
163 163
@@ -207,4 +207,4 @@ namespace OpenSim.Region.Communications.Local
207 } 207 }
208 } 208 }
209 } 209 }
210} 210} \ No newline at end of file