summaryrefslogtreecommitdiff
path: root/usr/local/sbin/rmaccess
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-03-18 13:49:38 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2010-03-18 13:49:38 -0700
commita02d7015f4c45c782d81c526a068cde73fc7bf8f (patch)
treef3365a3e8f742b85cfa3a7776acd95819bcfd0f9 /usr/local/sbin/rmaccess
parent805db01a4b6e969fd416def17fd0ae4fb418af4c (diff)
downloadpiny-code-a02d7015f4c45c782d81c526a068cde73fc7bf8f.tar.gz
piny-code-a02d7015f4c45c782d81c526a068cde73fc7bf8f.zip
Properly create user objects in addaccess and rmaccess.
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 );