aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Friends/FriendsService.cs
diff options
context:
space:
mode:
authorDiva Canto2013-07-04 08:47:45 -0700
committerDiva Canto2013-07-04 08:47:45 -0700
commit27cdfb7b840423cf8cee08988dc487eeb34d71c7 (patch)
tree200961805a3220208df7051579b2656fedb521fd /OpenSim/Services/Friends/FriendsService.cs
parentSquoosh one last opportunity for Unknown Users to creep in. (diff)
downloadopensim-SC_OLD-27cdfb7b840423cf8cee08988dc487eeb34d71c7.zip
opensim-SC_OLD-27cdfb7b840423cf8cee08988dc487eeb34d71c7.tar.gz
opensim-SC_OLD-27cdfb7b840423cf8cee08988dc487eeb34d71c7.tar.bz2
opensim-SC_OLD-27cdfb7b840423cf8cee08988dc487eeb34d71c7.tar.xz
HG Friends: debug an issue where the friends data stored in the DB is incomplete.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Friends/FriendsService.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Services/Friends/FriendsService.cs b/OpenSim/Services/Friends/FriendsService.cs
index e2033ac..dd3f733 100644
--- a/OpenSim/Services/Friends/FriendsService.cs
+++ b/OpenSim/Services/Friends/FriendsService.cs
@@ -29,6 +29,7 @@ using OpenMetaverse;
29using OpenSim.Framework; 29using OpenSim.Framework;
30using System; 30using System;
31using System.Collections.Generic; 31using System.Collections.Generic;
32using System.Reflection;
32using OpenSim.Services.Interfaces; 33using OpenSim.Services.Interfaces;
33using OpenSim.Data; 34using OpenSim.Data;
34using Nini.Config; 35using Nini.Config;
@@ -39,7 +40,12 @@ namespace OpenSim.Services.Friends
39{ 40{
40 public class FriendsService : FriendsServiceBase, IFriendsService 41 public class FriendsService : FriendsServiceBase, IFriendsService
41 { 42 {
42 public FriendsService(IConfigSource config) : base(config) 43 private static readonly ILog m_log =
44 LogManager.GetLogger(
45 MethodBase.GetCurrentMethod().DeclaringType);
46
47 public FriendsService(IConfigSource config)
48 : base(config)
43 { 49 {
44 } 50 }
45 51
@@ -98,6 +104,7 @@ namespace OpenSim.Services.Friends
98 d.Data = new Dictionary<string, string>(); 104 d.Data = new Dictionary<string, string>();
99 d.Data["Flags"] = flags.ToString(); 105 d.Data["Flags"] = flags.ToString();
100 106
107 m_log.DebugFormat("[FRIENDS]: Storing {0} {1}", PrincipalID, Friend);
101 return m_Database.Store(d); 108 return m_Database.Store(d);
102 } 109 }
103 110