Fix logic inversion on testing user Monitors for camera access

pull/3630/head
Isaac Connor 2022-11-06 07:46:41 -05:00
parent 4814eaa2df
commit bfaf8c8b53
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ bool User::canAccess(int monitor_id) {
} // end foreach Group_Permission
}
return (monitors == PERM_NONE);
return (monitors != PERM_NONE);
}
// Function to load a user from username and password