aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-04-04 01:06:57 +0100
committerJustin Clark-Casey (justincc)2013-04-04 01:06:57 +0100
commitf064075a85962039f4737ec9ca631c377a6197c9 (patch)
tree81bbdc932229b4fe6c36c8ec1a741ee266fde9d2 /OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
parentrefactor: Simplify ScriptsHttpRequests.GetNextCompletedRequest to more simply... (diff)
downloadopensim-SC_OLD-f064075a85962039f4737ec9ca631c377a6197c9.zip
opensim-SC_OLD-f064075a85962039f4737ec9ca631c377a6197c9.tar.gz
opensim-SC_OLD-f064075a85962039f4737ec9ca631c377a6197c9.tar.bz2
opensim-SC_OLD-f064075a85962039f4737ec9ca631c377a6197c9.tar.xz
Fix XmlRpcAdmin admin_exists_user call so that it actually returns the last user login time rather than serializing the DateTime directly which generates a set of unexpected fields.
lastlogin return is in unix timestamp format.
Diffstat (limited to '')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index 5d44b2a..d19b8b6 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -1094,7 +1094,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1094 { 1094 {
1095 GridUserInfo userInfo = m_application.SceneManager.CurrentOrFirstScene.GridUserService.GetGridUserInfo(account.PrincipalID.ToString()); 1095 GridUserInfo userInfo = m_application.SceneManager.CurrentOrFirstScene.GridUserService.GetGridUserInfo(account.PrincipalID.ToString());
1096 if (userInfo != null) 1096 if (userInfo != null)
1097 responseData["lastlogin"] = userInfo.Login; 1097 responseData["lastlogin"] = Util.ToUnixTime(userInfo.Login);
1098 else 1098 else
1099 responseData["lastlogin"] = 0; 1099 responseData["lastlogin"] = 0;
1100 1100