aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index 2ae552f..47d1b16 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -163,7 +163,7 @@ namespace OpenSim.Services.LLLoginService
163 GridRegion destination = FindDestination(account, presence, session, startLocation, out where, out position, out lookAt); 163 GridRegion destination = FindDestination(account, presence, session, startLocation, out where, out position, out lookAt);
164 if (destination == null) 164 if (destination == null)
165 { 165 {
166 m_PresenceService.LogoutAgent(session); 166 m_PresenceService.LogoutAgent(session, presence.Position, presence.LookAt);
167 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: destination not found"); 167 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: destination not found");
168 return LLFailedLoginResponse.GridProblem; 168 return LLFailedLoginResponse.GridProblem;
169 } 169 }
@@ -195,7 +195,7 @@ namespace OpenSim.Services.LLLoginService
195 } 195 }
196 if (aCircuit == null) 196 if (aCircuit == null)
197 { 197 {
198 m_PresenceService.LogoutAgent(session); 198 m_PresenceService.LogoutAgent(session, presence.Position, presence.LookAt);
199 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason); 199 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason);
200 return LLFailedLoginResponse.AuthorizationProblem; 200 return LLFailedLoginResponse.AuthorizationProblem;
201 } 201 }
@@ -212,7 +212,7 @@ namespace OpenSim.Services.LLLoginService
212 { 212 {
213 m_log.WarnFormat("[LLOGIN SERVICE]: Exception processing login for {0} {1}: {2}", firstName, lastName, e.StackTrace); 213 m_log.WarnFormat("[LLOGIN SERVICE]: Exception processing login for {0} {1}: {2}", firstName, lastName, e.StackTrace);
214 if (m_PresenceService != null) 214 if (m_PresenceService != null)
215 m_PresenceService.LogoutAgent(session); 215 m_PresenceService.LogoutAgent(session, new Vector3(128, 128, 0), new Vector3(0, 1, 0));
216 return LLFailedLoginResponse.InternalError; 216 return LLFailedLoginResponse.InternalError;
217 } 217 }
218 } 218 }