aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons
diff options
context:
space:
mode:
authorUbitUmarov2018-11-17 17:05:28 +0000
committerUbitUmarov2018-11-17 17:05:28 +0000
commitefd6fb05a9f3805ce19dc432b6d084497cd45573 (patch)
tree4dd255f52392a2e9c3fd4830559e28750129ef78 /OpenSim/Addons
parentcode aesthetics (diff)
downloadopensim-SC-efd6fb05a9f3805ce19dc432b6d084497cd45573.zip
opensim-SC-efd6fb05a9f3805ce19dc432b6d084497cd45573.tar.gz
opensim-SC-efd6fb05a9f3805ce19dc432b6d084497cd45573.tar.bz2
opensim-SC-efd6fb05a9f3805ce19dc432b6d084497cd45573.tar.xz
code aesthetics
Diffstat (limited to 'OpenSim/Addons')
-rw-r--r--OpenSim/Addons/Groups/Service/GroupsService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Addons/Groups/Service/GroupsService.cs b/OpenSim/Addons/Groups/Service/GroupsService.cs
index bed91d9..0792a47 100644
--- a/OpenSim/Addons/Groups/Service/GroupsService.cs
+++ b/OpenSim/Addons/Groups/Service/GroupsService.cs
@@ -492,7 +492,7 @@ namespace OpenSim.Groups
492 492
493 // check permissions 493 // check permissions
494 bool limited = HasPower(RequestingAgentID, GroupID, GroupPowers.AssignMemberLimited); 494 bool limited = HasPower(RequestingAgentID, GroupID, GroupPowers.AssignMemberLimited);
495 bool unlimited = HasPower(RequestingAgentID, GroupID, GroupPowers.AssignMember) | IsOwner(RequestingAgentID, GroupID); 495 bool unlimited = HasPower(RequestingAgentID, GroupID, GroupPowers.AssignMember) || IsOwner(RequestingAgentID, GroupID);
496 if (!limited && !unlimited) 496 if (!limited && !unlimited)
497 { 497 {
498 m_log.DebugFormat("[Groups]: ({0}) Attempt at assigning {1} to role {2} denied because of lack of permission", RequestingAgentID, AgentID, RoleID); 498 m_log.DebugFormat("[Groups]: ({0}) Attempt at assigning {1} to role {2} denied because of lack of permission", RequestingAgentID, AgentID, RoleID);