summaryrefslogtreecommitdiff
path: root/usr/local/sbin/rmaccess
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/sbin/rmaccess')
-rwxr-xr-xusr/local/sbin/rmaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/rmaccess b/usr/local/sbin/rmaccess
index 563216d..f84fba0 100755
--- a/usr/local/sbin/rmaccess
+++ b/usr/local/sbin/rmaccess
@@ -16,4 +16,4 @@ if ( $repo->owner->uid != $env->user->uid ) {
exit( 3 );
};
-$repo->remove_access( @users );
+$repo->remove_access( map { Piny::User->new( $_ ) } @users );