aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index f7171ff..d2b81c8 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -959,6 +959,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
959 /// <description>avatar's first name</description></item> 959 /// <description>avatar's first name</description></item>
960 /// <item><term>user_lastname</term> 960 /// <item><term>user_lastname</term>
961 /// <description>avatar's last name</description></item> 961 /// <description>avatar's last name</description></item>
962 /// <item><term>user_lastlogin</term>
963 /// <description>avatar's last login time (secs since UNIX epoch)</description></item>
962 /// <item><term>success</term> 964 /// <item><term>success</term>
963 /// <description>true or false</description></item> 965 /// <description>true or false</description></item>
964 /// <item><term>error</term> 966 /// <item><term>error</term>
@@ -988,9 +990,16 @@ namespace OpenSim.ApplicationPlugins.RemoteController
988 responseData["user_lastname"] = lastname; 990 responseData["user_lastname"] = lastname;
989 991
990 if (null == userInfo) 992 if (null == userInfo)
993 {
991 responseData["success"] = false; 994 responseData["success"] = false;
995 responseData["lastlogin"] = 0;
996 }
992 else 997 else
998 {
993 responseData["success"] = true; 999 responseData["success"] = true;
1000 responseData["lastlogin"] = userInfo.UserProfile.LastLogin;
1001 }
1002
994 1003
995 response.Value = responseData; 1004 response.Value = responseData;
996 } 1005 }