From 4dba8e757ed484450e71129fc5966c2512735aea Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 23 Sep 2018 15:12:33 +1200 Subject: Improve config error context --- Plugin/Map.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Plugin') 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; -- cgit v1.1