diff options
Diffstat (limited to 'OpenSim/OpenSim.World/World.cs')
-rw-r--r-- | OpenSim/OpenSim.World/World.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.World/World.cs b/OpenSim/OpenSim.World/World.cs index 77af862..c731dbc 100644 --- a/OpenSim/OpenSim.World/World.cs +++ b/OpenSim/OpenSim.World/World.cs | |||
@@ -11,6 +11,7 @@ using OpenSim.Physics.Manager; | |||
11 | using OpenSim.Framework.Interfaces; | 11 | using OpenSim.Framework.Interfaces; |
12 | using OpenSim.Framework.Types; | 12 | using OpenSim.Framework.Types; |
13 | using OpenSim.Framework.Inventory; | 13 | using OpenSim.Framework.Inventory; |
14 | using OpenSim.Framework; | ||
14 | using OpenSim.RegionServer.world.scripting; | 15 | using OpenSim.RegionServer.world.scripting; |
15 | using OpenSim.Terrain; | 16 | using OpenSim.Terrain; |
16 | 17 | ||
@@ -34,6 +35,7 @@ namespace OpenSim.world | |||
34 | private Dictionary<string, ScriptFactory> m_scripts; | 35 | private Dictionary<string, ScriptFactory> m_scripts; |
35 | private Mutex updateLock; | 36 | private Mutex updateLock; |
36 | public string m_datastore; | 37 | public string m_datastore; |
38 | protected AuthenticateSessionsBase authenticateHandler; | ||
37 | 39 | ||
38 | #region Properties | 40 | #region Properties |
39 | /// <summary> | 41 | /// <summary> |
@@ -59,11 +61,12 @@ namespace OpenSim.world | |||
59 | /// <param name="clientThreads">Dictionary to contain client threads</param> | 61 | /// <param name="clientThreads">Dictionary to contain client threads</param> |
60 | /// <param name="regionHandle">Region Handle for this region</param> | 62 | /// <param name="regionHandle">Region Handle for this region</param> |
61 | /// <param name="regionName">Region Name for this region</param> | 63 | /// <param name="regionName">Region Name for this region</param> |
62 | public World(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regInfo) | 64 | public World(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regInfo, AuthenticateSessionsBase authen) |
63 | { | 65 | { |
64 | try | 66 | try |
65 | { | 67 | { |
66 | updateLock = new Mutex(false); | 68 | updateLock = new Mutex(false); |
69 | this.authenticateHandler = authen; | ||
67 | m_clientThreads = clientThreads; | 70 | m_clientThreads = clientThreads; |
68 | m_regInfo = regInfo; | 71 | m_regInfo = regInfo; |
69 | m_regionHandle = m_regInfo.RegionHandle; | 72 | m_regionHandle = m_regInfo.RegionHandle; |