aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs
index f8fbbbb..3728b85 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs
@@ -135,7 +135,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
135 if (!UserManagementModule.IsLocalGridUser(friendID)) 135 if (!UserManagementModule.IsLocalGridUser(friendID))
136 { 136 {
137 ScenePresence avatar = null; 137 ScenePresence avatar = null;
138 client.Scene.TryGetScenePresence(principalID, out avatar); 138 ((Scene)client.Scene).TryGetScenePresence(principalID, out avatar);
139 139
140 if (avatar == null) 140 if (avatar == null)
141 return; 141 return;