summaryrefslogtreecommitdiff
path: root/mydl.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 /mydl.pl
parentadded webdir config option (diff)
chacnged user to use complete environment
added config support to remove and cancel
Diffstat (limited to 'mydl.pl')
-rwxr-xr-xmydl.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mydl.pl b/mydl.pl
index db51573..d698b8a 100755
--- a/mydl.pl
+++ b/mydl.pl
@@ -6,7 +6,7 @@ use utf8;
use local::nzbget;
use local::db;
use local::user;
-my $user = new local::user($ENV{REMOTE_USER});
+my $user = new local::user(%ENV);
print header;