aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri/Submit/Check/ACL.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-01-26 11:25:29 +0000
committerOlivier Blin <oblin@mandriva.com>2007-01-26 11:25:29 +0000
commit50ac92fa4638aa2fb82482fcb847a10d816a0ae7 (patch)
treee558fc65dffa069e49ae6317360ac0a52d1fa0c3 /lib/Youri/Submit/Check/ACL.pm
parentf37dda0e408e123c2bcd7646f6f096d81097a53d (diff)
downloadmga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.tar
mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.tar.gz
mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.tar.bz2
mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.tar.xz
mga-youri-submit-50ac92fa4638aa2fb82482fcb847a10d816a0ae7.zip
really match section in ACL
Diffstat (limited to 'lib/Youri/Submit/Check/ACL.pm')
-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 {