diff options
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalUserServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalUserServices.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index f4fe686..a239033 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -29,11 +29,14 @@ using System; | |||
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
31 | using OpenSim.Framework.Communications; | 31 | using OpenSim.Framework.Communications; |
32 | using log4net; | ||
33 | using System.Reflection; | ||
32 | 34 | ||
33 | namespace OpenSim.Region.Communications.Local | 35 | namespace OpenSim.Region.Communications.Local |
34 | { | 36 | { |
35 | public class LocalUserServices : UserManagerBase | 37 | public class LocalUserServices : UserManagerBase |
36 | { | 38 | { |
39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
37 | private readonly uint m_defaultHomeX; | 40 | private readonly uint m_defaultHomeX; |
38 | private readonly uint m_defaultHomeY; | 41 | private readonly uint m_defaultHomeY; |
39 | 42 | ||
@@ -64,7 +67,7 @@ namespace OpenSim.Region.Communications.Local | |||
64 | return profile; | 67 | return profile; |
65 | } | 68 | } |
66 | 69 | ||
67 | Console.WriteLine("Unknown Master User. Sandbox Mode: Creating Account"); | 70 | m_log.Debug("Unknown Master User. Sandbox Mode: Creating Account"); |
68 | AddUser(firstName, lastName, password, "", m_defaultHomeX, m_defaultHomeY); | 71 | AddUser(firstName, lastName, password, "", m_defaultHomeX, m_defaultHomeY); |
69 | return GetUserProfile(firstName, lastName); | 72 | return GetUserProfile(firstName, lastName); |
70 | } | 73 | } |