From 23d5b7802426cfd7b4503e7da88aaebd7369b964 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sat, 15 Jan 2011 20:20:26 +0000 Subject: chacnged user to use complete environment added config support to remove and cancel --- enqueue.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enqueue.pl') 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'); -- cgit v1.2.3