C tasks not for Erasmus students

This commit is contained in:
Filip Graliński 2020-01-09 11:00:11 +01:00
parent 77e74e5741
commit e436e9c854

View File

@ -165,7 +165,7 @@ sub check_if_the_right_task {
return 0 if $task_id =~ m{^TaskE} and not is_estudent($student_id);
return 0 if $task_id =~ m{^TaskA} and is_estudent($student_id);
return 0 if $task_id =~ m{^Task[AC]} and is_estudent($student_id);
return 1;
}