summaryrefslogtreecommitdiff
path: root/enqueue.pl
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@wirdorange.org>2011-01-15 20:20:26 +0000
committerOthmar Gsenger <otti@wirdorange.org>2011-01-15 20:20:26 +0000
commit23d5b7802426cfd7b4503e7da88aaebd7369b964 (patch)
tree6591ad44afec82fae0ed9b8fdb73600a0d7b12a6 /enqueue.pl
parentadded webdir config option (diff)
chacnged user to use complete environment
added config support to remove and cancel
Diffstat (limited to 'enqueue.pl')
-rwxr-xr-xenqueue.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/enqueue.pl b/enqueue.pl
index 7faa226..27c13ae 100755
--- a/enqueue.pl
+++ b/enqueue.pl
@@ -7,7 +7,7 @@ use local::nzbget;
use utf8;
use local::user;
-my $user = new local::user($ENV{REMOTE_USER});
+my $user = new local::user(%ENV);
my $nzbget = new local::nzbget;
die "Kein name angegeben" if not param('name');