The one where Linux does not let you have nice things and call them None...
parent
fe5a2e717e
commit
3016bb5252
|
|
@ -443,7 +443,7 @@ bool RlvActions::canEdit(ERlvCheckType eCheckType)
|
|||
(!rlvHandler.hasBehaviour(RLV_BHVR_EDIT) || rlvHandler.hasException(RLV_BHVR_EDIT)) &&
|
||||
(!rlvHandler.hasBehaviour(RLV_BHVR_EDITATTACH) || rlvHandler.hasBehaviour(RLV_BHVR_EDITWORLD));
|
||||
|
||||
case ERlvCheckType::None:
|
||||
case ERlvCheckType::Nothing:
|
||||
// Either @edit restricted with no exceptions or @editattach and @editworld restricted at the same time
|
||||
return
|
||||
(rlvHandler.hasBehaviour(RLV_BHVR_EDIT) && !rlvHandler.hasException(RLV_BHVR_EDIT)) ||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class LLVOAvatar;
|
|||
// RlvActions class declaration - developer-friendly non-RLVa code facing class, use in lieu of RlvHandler whenever possible
|
||||
//
|
||||
|
||||
enum class ERlvCheckType { All, Some, None };
|
||||
enum class ERlvCheckType { All, Some, Nothing };
|
||||
|
||||
class RlvActions
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue