diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs index e7b74a9..140660b 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsRequestHandler.cs | |||
@@ -34,6 +34,7 @@ using System.Xml; | |||
34 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
35 | using OpenSim.Server.Base; | 35 | using OpenSim.Server.Base; |
36 | using OpenSim.Framework.Servers.HttpServer; | 36 | using OpenSim.Framework.Servers.HttpServer; |
37 | using FriendInfo = OpenSim.Services.Interfaces.FriendInfo; | ||
37 | 38 | ||
38 | using OpenMetaverse; | 39 | using OpenMetaverse; |
39 | using log4net; | 40 | using log4net; |
@@ -205,7 +206,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
205 | if (!UUID.TryParse(request["ToID"].ToString(), out toID)) | 206 | if (!UUID.TryParse(request["ToID"].ToString(), out toID)) |
206 | return FailureResult(); | 207 | return FailureResult(); |
207 | 208 | ||
208 | if (m_FriendsModule.LocalGrantRights(/* ??? */)) | 209 | // !!! |
210 | if (m_FriendsModule.LocalGrantRights(UUID.Zero, UUID.Zero, 0, 0)) | ||
209 | return SuccessResult(); | 211 | return SuccessResult(); |
210 | 212 | ||
211 | return FailureResult(); | 213 | return FailureResult(); |