minor changes to last patch
parent
334986ddc6
commit
a235a28132
|
@ -43,16 +43,16 @@ namespace OpenSim.Groups
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
public const GroupPowers DefaultEveryonePowers = GroupPowers.AllowSetHome |
|
public const GroupPowers DefaultEveryonePowers =
|
||||||
GroupPowers.Accountable |
|
GroupPowers.AllowSetHome |
|
||||||
GroupPowers.JoinChat |
|
GroupPowers.Accountable |
|
||||||
GroupPowers.AllowVoiceChat |
|
GroupPowers.JoinChat |
|
||||||
GroupPowers.ReceiveNotices |
|
GroupPowers.AllowVoiceChat |
|
||||||
GroupPowers.StartProposal |
|
GroupPowers.ReceiveNotices |
|
||||||
GroupPowers.VoteOnProposal;
|
GroupPowers.StartProposal |
|
||||||
|
GroupPowers.VoteOnProposal;
|
||||||
|
|
||||||
public const GroupPowers OfficersPowers =
|
public const GroupPowers OfficersPowers = DefaultEveryonePowers |
|
||||||
(GroupPowers)DefaultEveryonePowers |
|
|
||||||
GroupPowers.AllowFly |
|
GroupPowers.AllowFly |
|
||||||
GroupPowers.AllowLandmark |
|
GroupPowers.AllowLandmark |
|
||||||
GroupPowers.AllowRez |
|
GroupPowers.AllowRez |
|
||||||
|
@ -87,9 +87,7 @@ namespace OpenSim.Groups
|
||||||
GroupPowers.SendNotices |
|
GroupPowers.SendNotices |
|
||||||
GroupPowers.SetLandingPoint;
|
GroupPowers.SetLandingPoint;
|
||||||
|
|
||||||
|
public const GroupPowers OwnerPowers = OfficersPowers |
|
||||||
public const GroupPowers OwnerPowers =
|
|
||||||
(GroupPowers)OfficersPowers |
|
|
||||||
GroupPowers.Accountable |
|
GroupPowers.Accountable |
|
||||||
GroupPowers.AllowEditLand |
|
GroupPowers.AllowEditLand |
|
||||||
GroupPowers.AssignMember |
|
GroupPowers.AssignMember |
|
||||||
|
@ -852,7 +850,7 @@ namespace OpenSim.Groups
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!add && data == null) // it deosn't exist, can't update
|
if (!add && data == null) // it dosn't exist, can't update
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[Groups]: Group {0} doesn't exist. Can't update it", groupID);
|
m_log.DebugFormat("[Groups]: Group {0} doesn't exist. Can't update it", groupID);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue