diff options
Diffstat (limited to '')
-rw-r--r-- | Common/OpenSim.Servers/LoginServer.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Common/OpenSim.Servers/LoginServer.cs b/Common/OpenSim.Servers/LoginServer.cs index 6fd174b..d02c41e 100644 --- a/Common/OpenSim.Servers/LoginServer.cs +++ b/Common/OpenSim.Servers/LoginServer.cs | |||
@@ -47,7 +47,7 @@ using OpenSim.Framework.Types; | |||
47 | 47 | ||
48 | namespace OpenSim.UserServer | 48 | namespace OpenSim.UserServer |
49 | { | 49 | { |
50 | public delegate void AddNewSessionHandler(Login loginData); | 50 | public delegate bool AddNewSessionHandler(ulong regionHandle, Login loginData); |
51 | /// <summary> | 51 | /// <summary> |
52 | /// When running in local (default) mode , handles client logins. | 52 | /// When running in local (default) mode , handles client logins. |
53 | /// </summary> | 53 | /// </summary> |
@@ -196,7 +196,8 @@ namespace OpenSim.UserServer | |||
196 | { | 196 | { |
197 | ((LocalGridBase)m_gridServer).AddNewSession(_login); | 197 | ((LocalGridBase)m_gridServer).AddNewSession(_login); |
198 | }*/ | 198 | }*/ |
199 | AddSession(_login); | 199 | ulong reghand = Helpers.UIntsToLong((regionX * 256), (regionY * 256)); |
200 | AddSession(reghand,_login); | ||
200 | 201 | ||
201 | return response; | 202 | return response; |
202 | } | 203 | } |