aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSnoopy Pfeffer2012-04-11 18:56:28 +0200
committerSnoopy Pfeffer2012-04-11 18:56:28 +0200
commit8be14095fed0d1d9f448d51fede20d13231c02db (patch)
treec47b461c8add9c01f11b98cc6da2b37f2866a359
parentHGFriendsModule: Added optional user level based restriction to send friendsh... (diff)
downloadopensim-SC_OLD-8be14095fed0d1d9f448d51fede20d13231c02db.zip
opensim-SC_OLD-8be14095fed0d1d9f448d51fede20d13231c02db.tar.gz
opensim-SC_OLD-8be14095fed0d1d9f448d51fede20d13231c02db.tar.bz2
opensim-SC_OLD-8be14095fed0d1d9f448d51fede20d13231c02db.tar.xz
HGFriendsModule: Type casts to fix compile error
-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;