mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Improved method doc for AddFriend() - it actually does set up a two-way relationship.
Rename IFriendsModule.AddFriend() to AddFriendship()
This commit is contained in:
@@ -572,10 +572,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
{
|
||||
m_log.DebugFormat("[FRIENDS]: {0} accepted friendship from {1}", client.AgentId, friendID);
|
||||
|
||||
AddFriend(client, friendID);
|
||||
AddFriendship(client, friendID);
|
||||
}
|
||||
|
||||
public void AddFriend(IClientAPI client, UUID friendID)
|
||||
public void AddFriendship(IClientAPI client, UUID friendID)
|
||||
{
|
||||
StoreFriendships(client.AgentId, friendID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user