diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Friends/FriendsService.cs | 9 |
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; | |||
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using System; | 30 | using System; |
31 | using System.Collections.Generic; | 31 | using System.Collections.Generic; |
32 | using System.Reflection; | ||
32 | using OpenSim.Services.Interfaces; | 33 | using OpenSim.Services.Interfaces; |
33 | using OpenSim.Data; | 34 | using OpenSim.Data; |
34 | using Nini.Config; | 35 | using 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 | ||