diff options
author | Snoopy Pfeffer | 2012-04-11 18:56:28 +0200 |
---|---|---|
committer | Snoopy Pfeffer | 2012-04-11 18:56:28 +0200 |
commit | 8be14095fed0d1d9f448d51fede20d13231c02db (patch) | |
tree | c47b461c8add9c01f11b98cc6da2b37f2866a359 /OpenSim/Region/CoreModules/Avatar | |
parent | HGFriendsModule: Added optional user level based restriction to send friendsh... (diff) | |
download | opensim-SC-8be14095fed0d1d9f448d51fede20d13231c02db.zip opensim-SC-8be14095fed0d1d9f448d51fede20d13231c02db.tar.gz opensim-SC-8be14095fed0d1d9f448d51fede20d13231c02db.tar.bz2 opensim-SC-8be14095fed0d1d9f448d51fede20d13231c02db.tar.xz |
HGFriendsModule: Type casts to fix compile error
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs | 2 |
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; |