aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalUserServices.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Communications/Local/LocalUserServices.cs5
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;
29using OpenMetaverse; 29using OpenMetaverse;
30using OpenSim.Framework; 30using OpenSim.Framework;
31using OpenSim.Framework.Communications; 31using OpenSim.Framework.Communications;
32using log4net;
33using System.Reflection;
32 34
33namespace OpenSim.Region.Communications.Local 35namespace 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 }