diff options
author | UbitUmarov | 2018-11-17 17:05:28 +0000 |
---|---|---|
committer | UbitUmarov | 2018-11-17 17:05:28 +0000 |
commit | efd6fb05a9f3805ce19dc432b6d084497cd45573 (patch) | |
tree | 4dd255f52392a2e9c3fd4830559e28750129ef78 /OpenSim/Addons/Groups/Service | |
parent | code aesthetics (diff) | |
download | opensim-SC-efd6fb05a9f3805ce19dc432b6d084497cd45573.zip opensim-SC-efd6fb05a9f3805ce19dc432b6d084497cd45573.tar.gz opensim-SC-efd6fb05a9f3805ce19dc432b6d084497cd45573.tar.bz2 opensim-SC-efd6fb05a9f3805ce19dc432b6d084497cd45573.tar.xz |
code aesthetics
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Addons/Groups/Service/GroupsService.cs | 2 |
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); |