Correct prim counts for group land. Correct MessageTransferModule startup
parent
598316c890
commit
bb936d8a2f
|
@ -52,8 +52,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
|
|||
private Dictionary<UUID, ulong> m_UserRegionMap = new Dictionary<UUID, ulong>();
|
||||
|
||||
public void Initialise(Scene scene, IConfigSource config)
|
||||
{
|
||||
if (config.Configs["Messaging"] != null)
|
||||
{
|
||||
IConfig cnf = config.Configs["Messaging"];
|
||||
if (cnf != null && cnf.GetString(
|
||||
|
@ -66,7 +64,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
|
|||
m_Gridmode = cnf.GetBoolean("gridmode", false);
|
||||
|
||||
m_Enabled = true;
|
||||
}
|
||||
|
||||
lock (m_Scenes)
|
||||
{
|
||||
|
|
|
@ -827,8 +827,9 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
|||
{
|
||||
landData.OwnerPrims += prim_count;
|
||||
}
|
||||
else if (obj.GroupID == landData.GroupID ||
|
||||
prim_owner == landData.GroupID)
|
||||
else if ((obj.GroupID == landData.GroupID ||
|
||||
prim_owner == landData.GroupID) &&
|
||||
landData.GroupID != UUID.Zero)
|
||||
{
|
||||
landData.GroupPrims += prim_count;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue