diff options
author | Melanie | 2009-11-05 17:29:52 +0000 |
---|---|---|
committer | Melanie | 2009-11-05 17:29:52 +0000 |
commit | ec0d5b408adad5c806cad7b9cbce3ca37069dcaf (patch) | |
tree | 4910e859b1537cf472a5435c2c8f03dddc335dfd /OpenSim/Region/Framework | |
parent | Remove a spammy debug message from friends list check in the perms module. (diff) | |
download | opensim-SC_OLD-ec0d5b408adad5c806cad7b9cbce3ca37069dcaf.zip opensim-SC_OLD-ec0d5b408adad5c806cad7b9cbce3ca37069dcaf.tar.gz opensim-SC_OLD-ec0d5b408adad5c806cad7b9cbce3ca37069dcaf.tar.bz2 opensim-SC_OLD-ec0d5b408adad5c806cad7b9cbce3ca37069dcaf.tar.xz |
Change the permissions module to use the friend list cache already in the
friends module instead of requesting the entire friends list over the
network each time a prim is touched.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IFriendsModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs index 7a8aba2..8386030 100644 --- a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using System.Collections.Generic; | ||
30 | 31 | ||
31 | namespace OpenSim.Region.Framework.Interfaces | 32 | namespace OpenSim.Region.Framework.Interfaces |
32 | { | 33 | { |
@@ -45,5 +46,6 @@ namespace OpenSim.Region.Framework.Interfaces | |||
45 | /// </param> | 46 | /// </param> |
46 | /// <param name="offerMessage"></param> | 47 | /// <param name="offerMessage"></param> |
47 | void OfferFriendship(UUID fromUserId, IClientAPI toUserClient, string offerMessage); | 48 | void OfferFriendship(UUID fromUserId, IClientAPI toUserClient, string offerMessage); |
49 | List<FriendListItem> GetUserFriends(UUID agentID); | ||
48 | } | 50 | } |
49 | } | 51 | } |