diff --git a/server/src/DatabaseHelper.cpp b/server/src/DatabaseHelper.cpp index 90db491..9cca201 100644 --- a/server/src/DatabaseHelper.cpp +++ b/server/src/DatabaseHelper.cpp @@ -288,9 +288,9 @@ inline sql::result load_permissions_v2(const std::shared_ptr& server, } 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 - 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; });