diff options
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1UserServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index c140213..56b0e8c 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | |||
@@ -29,17 +29,18 @@ using System; | |||
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Net; | 31 | using System.Net; |
32 | using System.Reflection; | ||
32 | using System.Text.RegularExpressions; | 33 | using System.Text.RegularExpressions; |
33 | using libsecondlife; | 34 | using libsecondlife; |
35 | using log4net; | ||
34 | using Nwc.XmlRpc; | 36 | using Nwc.XmlRpc; |
35 | using OpenSim.Framework; | 37 | using OpenSim.Framework; |
36 | using OpenSim.Framework.Console; | ||
37 | 38 | ||
38 | namespace OpenSim.Region.Communications.OGS1 | 39 | namespace OpenSim.Region.Communications.OGS1 |
39 | { | 40 | { |
40 | public class OGS1UserServices : IUserService | 41 | public class OGS1UserServices : IUserService |
41 | { | 42 | { |
42 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 43 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
43 | 44 | ||
44 | private CommunicationsOGS1 m_parent; | 45 | private CommunicationsOGS1 m_parent; |
45 | 46 | ||
@@ -158,7 +159,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
158 | { | 159 | { |
159 | XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 3000); | 160 | XmlRpcResponse resp = req.Send(m_parent.NetworkServersInfo.UserURL, 3000); |
160 | } | 161 | } |
161 | catch (System.Net.WebException) | 162 | catch (WebException) |
162 | { | 163 | { |
163 | m_log.Warn("[LOGOFF]: Unable to notify grid server of user logoff"); | 164 | m_log.Warn("[LOGOFF]: Unable to notify grid server of user logoff"); |
164 | } | 165 | } |