diff options
author | John Hurliman | 2010-09-08 15:08:49 -0700 |
---|---|---|
committer | John Hurliman | 2010-09-08 15:08:49 -0700 |
commit | 5dc9ea2f2487804d788b4b80d40d91bd792de4c2 (patch) | |
tree | 86d8628f18dff92ab3e8c5f730155072076b73c5 /OpenSim/Services | |
parent | No need for a config var for the HELO message on the server-side. It's robust. (diff) | |
download | opensim-SC_OLD-5dc9ea2f2487804d788b4b80d40d91bd792de4c2.zip opensim-SC_OLD-5dc9ea2f2487804d788b4b80d40d91bd792de4c2.tar.gz opensim-SC_OLD-5dc9ea2f2487804d788b4b80d40d91bd792de4c2.tar.bz2 opensim-SC_OLD-5dc9ea2f2487804d788b4b80d40d91bd792de4c2.tar.xz |
* Changed 11 calls for session info to the more optimized API method
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs b/OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs index 0ef4974..b7e8538 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianProfiles.cs | |||
@@ -291,8 +291,8 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
291 | // Check if the user is online | 291 | // Check if the user is online |
292 | if (client.Scene is Scene) | 292 | if (client.Scene is Scene) |
293 | { | 293 | { |
294 | OpenSim.Services.Interfaces.PresenceInfo[] presences = ((Scene)client.Scene).PresenceService.GetAgents(new string[] { avatarID.ToString() }); | 294 | OpenSim.Services.Interfaces.PresenceInfo presence = ((Scene)client.Scene).PresenceService.GetAgent(avatarID); |
295 | if (presences != null && presences.Length > 0) | 295 | if (presence != null) |
296 | flags |= ProfileFlags.Online; | 296 | flags |= ProfileFlags.Online; |
297 | } | 297 | } |
298 | 298 | ||