aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorMelanie2010-03-01 00:20:34 +0000
committerMelanie2010-03-01 00:20:34 +0000
commit65fadd2f67f46f8a62aea5be167b73471f58b7fe (patch)
treeb05aac9299a5dbec3517d9b7fc6ab9534d800956 /OpenSim/Region/CoreModules/Avatar
parentChange friends to handle offers as it was originally designed. This may (diff)
downloadopensim-SC-65fadd2f67f46f8a62aea5be167b73471f58b7fe.zip
opensim-SC-65fadd2f67f46f8a62aea5be167b73471f58b7fe.tar.gz
opensim-SC-65fadd2f67f46f8a62aea5be167b73471f58b7fe.tar.bz2
opensim-SC-65fadd2f67f46f8a62aea5be167b73471f58b7fe.tar.xz
Should have things the right way around, better that way
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index 32c2a43..cc324fe 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -449,7 +449,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
449 449
450 // This user wants to be friends with the other user. 450 // This user wants to be friends with the other user.
451 // Let's add both relations to the DB, but one of them is inactive (-1) 451 // Let's add both relations to the DB, but one of them is inactive (-1)
452 FriendsService.StoreFriend(principalID, friendID.ToString(), 0); 452 FriendsService.StoreFriend(friendID, principalID.ToString(), 0);
453 453
454 // Now let's ask the other user to be friends with this user 454 // Now let's ask the other user to be friends with this user
455 ForwardFriendshipOffer(principalID, friendID, im); 455 ForwardFriendshipOffer(principalID, friendID, im);