diff options
author | Diva Canto | 2010-05-08 07:44:07 -0700 |
---|---|---|
committer | Diva Canto | 2010-05-08 07:44:07 -0700 |
commit | d72769930aebb14ae4bfee9803adb13fbb44eb8b (patch) | |
tree | 32e9a36cab73a8ddb3528d50281c261815c44658 /OpenSim/ApplicationPlugins | |
parent | test commit for panda (diff) | |
download | opensim-SC-d72769930aebb14ae4bfee9803adb13fbb44eb8b.zip opensim-SC-d72769930aebb14ae4bfee9803adb13fbb44eb8b.tar.gz opensim-SC-d72769930aebb14ae4bfee9803adb13fbb44eb8b.tar.bz2 opensim-SC-d72769930aebb14ae4bfee9803adb13fbb44eb8b.tar.xz |
More cleaning on presence. Friends online/offline works again.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 6 |
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 | ||