god also read local chat

avinationmerge
UbitUmarov 2014-08-02 22:45:28 +01:00
parent 580604c231
commit e87f70e277
2 changed files with 7 additions and 2 deletions

View File

@ -238,10 +238,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
if (avatar.GodLevel >= 200)
{
fromNamePrefix = m_adminPrefix;
checkParcelHide = false;
}
else
{
checkParcelHide = true;
}
destination = UUID.Zero; // Avatars cant "SayTo"
ownerID = c.Sender.AgentId;
checkParcelHide = true;
hidePos = fromPos;
break;

View File

@ -3972,7 +3972,7 @@ namespace OpenSim.Region.Framework.Scenes
if(oldgodlevel != GodLevel) // force a visibility check
ParcelCrossCheck(m_currentParcelUUID, m_previusParcelUUID,
true, m_previusParcelHide, false, true);
m_currentParcelHide , m_previusParcelHide, false, true);
}
#region Child Agent Updates