diff options
author | Jeff Ames | 2008-08-18 00:39:10 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-18 00:39:10 +0000 |
commit | 6ef9d4da901a346c232458317cca6268da888e2e (patch) | |
tree | dd1d935b10f34f261839da9f9879c02322e8ede7 /OpenSim/Framework/Communications/LoginService.cs | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.zip opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.gz opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.bz2 opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/Communications/LoginService.cs')
-rw-r--r-- | OpenSim/Framework/Communications/LoginService.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index fd5f139..40064d3 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs | |||
@@ -79,7 +79,7 @@ namespace OpenSim.Framework.Communications | |||
79 | /// <param name="response">The existing response</param> | 79 | /// <param name="response">The existing response</param> |
80 | /// <param name="theUser">The user profile</param> | 80 | /// <param name="theUser">The user profile</param> |
81 | public abstract void CustomiseResponse(LoginResponse response, UserProfileData theUser, string startLocationRequest); | 81 | public abstract void CustomiseResponse(LoginResponse response, UserProfileData theUser, string startLocationRequest); |
82 | 82 | ||
83 | /// <summary> | 83 | /// <summary> |
84 | /// If the user is already logged in, try to notify the region that the user they've got is dead. | 84 | /// If the user is already logged in, try to notify the region that the user they've got is dead. |
85 | /// </summary> | 85 | /// </summary> |
@@ -206,12 +206,11 @@ namespace OpenSim.Framework.Communications | |||
206 | userProfile.CurrentAgent.AgentOnline = false; | 206 | userProfile.CurrentAgent.AgentOnline = false; |
207 | 207 | ||
208 | m_userManager.CommitAgent(ref userProfile); | 208 | m_userManager.CommitAgent(ref userProfile); |
209 | 209 | ||
210 | // try to tell the region that their user is dead. | 210 | // try to tell the region that their user is dead. |
211 | LogOffUser(userProfile, " XMLRPC You were logged off because you logged in from another location"); | 211 | LogOffUser(userProfile, " XMLRPC You were logged off because you logged in from another location"); |
212 | 212 | ||
213 | // Reject the login | 213 | // Reject the login |
214 | |||
215 | 214 | ||
216 | m_log.InfoFormat( | 215 | m_log.InfoFormat( |
217 | "[LOGIN END]: XMLRPC Notifying user {0} {1} that they are already logged in", | 216 | "[LOGIN END]: XMLRPC Notifying user {0} {1} that they are already logged in", |
@@ -293,7 +292,7 @@ namespace OpenSim.Framework.Communications | |||
293 | //return logResponse.ToXmlRpcResponse(); | 292 | //return logResponse.ToXmlRpcResponse(); |
294 | } | 293 | } |
295 | 294 | ||
296 | userProfile.LastLogin = userProfile.CurrentAgent.LoginTime; | 295 | userProfile.LastLogin = userProfile.CurrentAgent.LoginTime; |
297 | CommitAgent(ref userProfile); | 296 | CommitAgent(ref userProfile); |
298 | 297 | ||
299 | // If we reach this point, then the login has successfully logged onto the grid | 298 | // If we reach this point, then the login has successfully logged onto the grid |