diff options
author | Charles Krinke | 2008-08-16 20:02:51 +0000 |
---|---|---|
committer | Charles Krinke | 2008-08-16 20:02:51 +0000 |
commit | 701ee43e4626db815b87d51ead81d9c8ac426b4b (patch) | |
tree | 32a58c2e1a015ec6c2adba18f7bed4a8b0baee08 /OpenSim/Framework | |
parent | * One more terrain shadow debug helper. (diff) | |
download | opensim-SC_OLD-701ee43e4626db815b87d51ead81d9c8ac426b4b.zip opensim-SC_OLD-701ee43e4626db815b87d51ead81d9c8ac426b4b.tar.gz opensim-SC_OLD-701ee43e4626db815b87d51ead81d9c8ac426b4b.tar.bz2 opensim-SC_OLD-701ee43e4626db815b87d51ead81d9c8ac426b4b.tar.xz |
Mantis#1960. Thank you kindly, Tyre for a patch that:
This small patch enables updates to the lastLogin information in the `users` table
Diffstat (limited to 'OpenSim/Framework')
-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 |