local chat gods bug fix

avinationmerge
UbitUmarov 2014-08-04 00:43:57 +01:00
parent b07b0ff555
commit 8cf945544c
1 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
fromName = avatar.Name;
fromID = c.Sender.AgentId;
if (avatar.GodLevel >= 200)
{
{ // let gods speak to outside or things may get confusing
fromNamePrefix = m_adminPrefix;
checkParcelHide = false;
}
@ -310,7 +310,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
// objects on a parcel with access restrictions
if (checkParcelHide)
{
if (sourceParcelID != Presencecheck.LandData.GlobalID)
if (sourceParcelID != Presencecheck.LandData.GlobalID && presence.GodLevel < 200)
return;
}
if (c.Sender == null || Presencecheck.IsEitherBannedOrRestricted(c.Sender.AgentId) != true)