diff options
author | Justin Clark-Casey (justincc) | 2011-11-14 20:31:16 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-14 20:31:16 +0000 |
commit | e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb (patch) | |
tree | dd4d55cf99cb724dfffdb488997aa723db4782ae /OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |
parent | minor: remove some mono compiler warnings (diff) | |
download | opensim-SC-e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb.zip opensim-SC-e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb.tar.gz opensim-SC-e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb.tar.bz2 opensim-SC-e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb.tar.xz |
Improved method doc for AddFriend() - it actually does set up a two-way relationship.
Rename IFriendsModule.AddFriend() to AddFriendship()
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 31ffc4d..7a2a46e 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -572,10 +572,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
572 | { | 572 | { |
573 | m_log.DebugFormat("[FRIENDS]: {0} accepted friendship from {1}", client.AgentId, friendID); | 573 | m_log.DebugFormat("[FRIENDS]: {0} accepted friendship from {1}", client.AgentId, friendID); |
574 | 574 | ||
575 | AddFriend(client, friendID); | 575 | AddFriendship(client, friendID); |
576 | } | 576 | } |
577 | 577 | ||
578 | public void AddFriend(IClientAPI client, UUID friendID) | 578 | public void AddFriendship(IClientAPI client, UUID friendID) |
579 | { | 579 | { |
580 | StoreFriendships(client.AgentId, friendID); | 580 | StoreFriendships(client.AgentId, friendID); |
581 | 581 | ||