fix missing check for viaHGLogin

avinationmerge
UbitUmarov 2015-09-15 22:24:50 +01:00
parent 19c5f9ce1d
commit 3906bb2749
1 changed files with 2 additions and 2 deletions

View File

@ -1786,7 +1786,7 @@ namespace OpenSim.Region.Framework.Scenes
try try
{ {
// Make sure it's not a login agent. We don't want to wait for updates during login // Make sure it's not a login agent. We don't want to wait for updates during login
if (!isNPC && (m_teleportFlags & TeleportFlags.ViaLogin) == 0) if (!isNPC && !IsRealLogin(m_teleportFlags))
{ {
// Let's wait until UpdateAgent (called by departing region) is done // Let's wait until UpdateAgent (called by departing region) is done
@ -1956,7 +1956,7 @@ namespace OpenSim.Region.Framework.Scenes
// attachments // attachments
if (isNPC || (TeleportFlags & TeleportFlags.ViaLogin) != 0) if (isNPC || IsRealLogin(m_teleportFlags))
{ {
if (Scene.AttachmentsModule != null) if (Scene.AttachmentsModule != null)
// Util.FireAndForget( // Util.FireAndForget(