Fixed permission skip negate switch
This commit is contained in:
parent
647248009d
commit
155bfb3185
@ -288,9 +288,9 @@ inline sql::result load_permissions_v2(const std::shared_ptr<TSServer>& server,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!resolve_channel || !channel)
|
if(!resolve_channel || !channel)
|
||||||
manager->load_permission(key, {value, granted}, negated, skipped, value != permNotGranted, granted != permNotGranted);
|
manager->load_permission(key, {value, granted}, skipped, negated, value != permNotGranted, granted != permNotGranted);
|
||||||
else
|
else
|
||||||
manager->load_permission(key, {value, granted}, channel->channelId(), negated, skipped, value != permNotGranted, granted != permNotGranted);
|
manager->load_permission(key, {value, granted}, channel->channelId(), skipped, negated, value != permNotGranted, granted != permNotGranted);
|
||||||
return 0;
|
return 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user