mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Bannination fixes. Objects in nonpublic parcels were muted by default. Gods
were muted, too.
This commit is contained in:
@@ -244,7 +244,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
|
||||
ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y);
|
||||
if (Presencecheck != null)
|
||||
{
|
||||
if (Presencecheck.IsEitherBannedOrRestricted(c.SenderUUID) != true)
|
||||
// This will pass all chat from objects. Not
|
||||
// perfect, but it will do. For now. Better
|
||||
// than the prior behavior of muting all
|
||||
// objects on a parcel with access restrictions
|
||||
if (c.Sender == null || Presencecheck.IsEitherBannedOrRestricted(c.Sender.AgentId) != true)
|
||||
{
|
||||
TrySendChatMessage(presence, fromPos, regionPos, fromID, fromNamePrefix+fromName, c.Type, message, sourceType);
|
||||
}
|
||||
|
||||
@@ -6075,7 +6075,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return m_host.ParentGroup.RootPart.AttachmentPoint;
|
||||
}
|
||||
|
||||
public LSL_Integer llGetFreeMemory()
|
||||
public virtual LSL_Integer llGetFreeMemory()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
// Make scripts designed for LSO happy
|
||||
|
||||
Reference in New Issue
Block a user