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/Region/CoreModules/Avatar/InstantMessage | |
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 'OpenSim/Region/CoreModules/Avatar/InstantMessage')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs index 730cc77..13bae2e 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | |||
@@ -498,9 +498,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
498 | if (lookupAgent) | 498 | if (lookupAgent) |
499 | { | 499 | { |
500 | // Non-cached user agent lookup. | 500 | // Non-cached user agent lookup. |
501 | PresenceInfo[] presences = PresenceService.GetAgents(new string[] { toAgentID.ToString() }); | 501 | upd = PresenceService.GetAgent(toAgentID); |
502 | if (presences != null && presences.Length > 0) | ||
503 | upd = presences[0]; | ||
504 | 502 | ||
505 | if (upd != null) | 503 | if (upd != null) |
506 | { | 504 | { |