aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-23 15:12:33 +1200
committerDavid Phillips <david@sighup.nz>2018-09-23 15:12:33 +1200
commit4dba8e757ed484450e71129fc5966c2512735aea (patch)
tree2fab22e8e91ff0e1f1d8b0d46079720756c3f3f4 /Plugin
parentbed37697b2fa383344f23ac1f9df52fa2508c30b (diff)
downloadidalius-4dba8e757ed484450e71129fc5966c2512735aea.tar.xz
Improve config error context
Diffstat (limited to 'Plugin')
-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;