aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Map.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin/Map.pm')
-rw-r--r--Plugin/Map.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Map.pm b/Plugin/Map.pm
index a0f61ba..3401f0f 100644
--- a/Plugin/Map.pm
+++ b/Plugin/Map.pm
@@ -24,7 +24,7 @@ sub map {
return "Syntax: map command [item1, item2, ...]" unless $command and $subjects_raw;
- my ($e, @subjects) = ListParser::parse_list($subjects_raw);
+ my ($e, $from, $to, @subjects) = ListParser::parse_list($subjects_raw);
return $e if $e;
my @results = map { $run_command->("$command $_", $who, $where, $ided) } @subjects;