oops let loop go on. Thanks Tampa

This commit is contained in:
UbitUmarov
2024-11-17 00:01:55 +00:00
parent df4664f05b
commit 2d3140fc9a

View File

@@ -1072,10 +1072,11 @@ namespace OpenSim.Groups
if (role is null)
{
m_log.Warn($"[GROUPSERVICE] role with id {rdata.RoleID} is null");
return false;
continue;
}
return (UInt64.Parse(role.Data["Powers"]) & (ulong)power) != 0;
if ((UInt64.Parse(role.Data["Powers"]) & (ulong)power) != 0)
return true;
}
return false;
}