From 701ee43e4626db815b87d51ead81d9c8ac426b4b Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sat, 16 Aug 2008 20:02:51 +0000 Subject: Mantis#1960. Thank you kindly, Tyre for a patch that: This small patch enables updates to the lastLogin information in the `users` table --- OpenSim/Framework/Communications/LoginService.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Framework') 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 return logResponse.CreateDeadRegionResponse(); //return logResponse.ToXmlRpcResponse(); } + + userProfile.LastLogin = userProfile.CurrentAgent.LoginTime; CommitAgent(ref userProfile); // If we reach this point, then the login has successfully logged onto the grid @@ -464,6 +466,7 @@ namespace OpenSim.Framework.Communications return logResponse.CreateDeadRegionResponseLLSD(); } + userProfile.LastLogin = userProfile.CurrentAgent.LoginTime; CommitAgent(ref userProfile); // If we reach this point, then the login has successfully logged onto the grid -- cgit v1.1