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