aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index b9b16ad..d00c990 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2422,6 +2422,8 @@ namespace OpenSim.Region.Framework.Scenes
2422 /// <param name="client"></param> 2422 /// <param name="client"></param>
2423 public override void AddNewClient(IClientAPI client) 2423 public override void AddNewClient(IClientAPI client)
2424 { 2424 {
2425 bool vialogin = false;
2426
2425 m_clientManager.Add(client); 2427 m_clientManager.Add(client);
2426 2428
2427 CheckHeartbeat(); 2429 CheckHeartbeat();
@@ -2463,6 +2465,7 @@ namespace OpenSim.Region.Framework.Scenes
2463 if ((aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaLogin) != 0) 2465 if ((aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaLogin) != 0)
2464 { 2466 {
2465 m_log.DebugFormat("[Scene]: Incoming client {0} {1} in region {2} via Login", aCircuit.firstname, aCircuit.lastname, RegionInfo.RegionName); 2467 m_log.DebugFormat("[Scene]: Incoming client {0} {1} in region {2} via Login", aCircuit.firstname, aCircuit.lastname, RegionInfo.RegionName);
2468 vialogin = true;
2466 IUserAgentVerificationModule userVerification = RequestModuleInterface<IUserAgentVerificationModule>(); 2469 IUserAgentVerificationModule userVerification = RequestModuleInterface<IUserAgentVerificationModule>();
2467 if (userVerification != null) 2470 if (userVerification != null)
2468 { 2471 {
@@ -2512,7 +2515,8 @@ namespace OpenSim.Region.Framework.Scenes
2512 2515
2513 m_LastLogin = Util.EnvironmentTickCount(); 2516 m_LastLogin = Util.EnvironmentTickCount();
2514 EventManager.TriggerOnNewClient(client); 2517 EventManager.TriggerOnNewClient(client);
2515 2518 if (vialogin)
2519 EventManager.TriggerOnClientLogin(client);
2516 } 2520 }
2517 2521
2518 2522