aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index 13f9c9f..c5346d4 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -1119,9 +1119,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1119 } 1119 }
1120 else 1120 else
1121 { 1121 {
1122 PresenceInfo[] pinfos = m_app.SceneManager.CurrentOrFirstScene.PresenceService.GetAgents(new string[] { account.PrincipalID.ToString() }); 1122 GridUserInfo guinfo = m_app.SceneManager.CurrentOrFirstScene.GridUserService.GetGridUserInfo(account.PrincipalID.ToString());
1123 if (pinfos != null && pinfos.Length >= 1) 1123 if (guinfo != null)
1124 responseData["lastlogin"] = pinfos[0].Login; 1124 responseData["lastlogin"] = guinfo.Login;
1125 else 1125 else
1126 responseData["lastlogin"] = 0; 1126 responseData["lastlogin"] = 0;
1127 1127