aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Youri/Submit/Check/ACL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Check/ACL.pm b/lib/Youri/Submit/Check/ACL.pm
index 26de874..84989bf 100644
--- a/lib/Youri/Submit/Check/ACL.pm
+++ b/lib/Youri/Submit/Check/ACL.pm
@@ -38,7 +38,7 @@ sub run {
next if $target !~ /$t/;
foreach my $acl (@{$acl->{$t}}) {
my ($a, $media, $r, $users) = @$acl;
- next if $arch !~ $a || $srpm !~ $r || $media !~ $media;
+ next if $arch !~ $a || $srpm !~ $r || $section !~ $media;
if ($user =~ /$users/) {
return
} else {