diff options
-rw-r--r-- | OpenSim/Framework/Communications/LoginService.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index d603052..fd5f139 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs | |||
@@ -292,6 +292,8 @@ namespace OpenSim.Framework.Communications | |||
292 | return logResponse.CreateDeadRegionResponse(); | 292 | return logResponse.CreateDeadRegionResponse(); |
293 | //return logResponse.ToXmlRpcResponse(); | 293 | //return logResponse.ToXmlRpcResponse(); |
294 | } | 294 | } |
295 | |||
296 | userProfile.LastLogin = userProfile.CurrentAgent.LoginTime; | ||
295 | CommitAgent(ref userProfile); | 297 | CommitAgent(ref userProfile); |
296 | 298 | ||
297 | // If we reach this point, then the login has successfully logged onto the grid | 299 | // If we reach this point, then the login has successfully logged onto the grid |
@@ -464,6 +466,7 @@ namespace OpenSim.Framework.Communications | |||
464 | return logResponse.CreateDeadRegionResponseLLSD(); | 466 | return logResponse.CreateDeadRegionResponseLLSD(); |
465 | } | 467 | } |
466 | 468 | ||
469 | userProfile.LastLogin = userProfile.CurrentAgent.LoginTime; | ||
467 | CommitAgent(ref userProfile); | 470 | CommitAgent(ref userProfile); |
468 | 471 | ||
469 | // If we reach this point, then the login has successfully logged onto the grid | 472 | // If we reach this point, then the login has successfully logged onto the grid |