diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index af9afa6..f83a4d2 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1114,7 +1114,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1114 | /// This is called upon a very important packet sent from the client, | 1114 | /// This is called upon a very important packet sent from the client, |
1115 | /// so it's client-controlled. Never call this method directly. | 1115 | /// so it's client-controlled. Never call this method directly. |
1116 | /// </summary> | 1116 | /// </summary> |
1117 | public void CompleteMovement() | 1117 | public void CompleteMovement(IClientAPI client) |
1118 | { | 1118 | { |
1119 | //m_log.Debug("[SCENE PRESENCE]: CompleteMovement"); | 1119 | //m_log.Debug("[SCENE PRESENCE]: CompleteMovement"); |
1120 | 1120 | ||
@@ -1159,6 +1159,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1159 | m_agentTransfer.EnableChildAgents(this); | 1159 | m_agentTransfer.EnableChildAgents(this); |
1160 | else | 1160 | else |
1161 | m_log.DebugFormat("[SCENE PRESENCE]: Unable to create child agents in neighbours, because AgentTransferModule is not active"); | 1161 | m_log.DebugFormat("[SCENE PRESENCE]: Unable to create child agents in neighbours, because AgentTransferModule is not active"); |
1162 | |||
1163 | IFriendsModule friendsModule = m_scene.RequestModuleInterface<IFriendsModule>(); | ||
1164 | if (friendsModule != null) | ||
1165 | friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); | ||
1162 | } | 1166 | } |
1163 | 1167 | ||
1164 | } | 1168 | } |