Skip to content
Snippets Groups Projects
Commit 8af5e433 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

(Hopefully) fix addr: etc. handling. Thx penma.

parent f0295359
No related branches found
No related tags found
No related merge requests found
......@@ -63,13 +63,13 @@ if (not (@from and @to)) {
}
for my $pair (
[$from[1], \$from_type],
[$via[1] , \$via_type ],
[$to[1] , \$to_type ],
[\@from, \$from_type],
[\@via , \$via_type ],
[\@to , \$to_type ],
) {
next if (not defined $pair->[0]);
next if (not defined $pair->[0]->[1]);
if ($pair->[0] =~ s{ ^ (?<type> [^:]+ ) : \s* (?<target> .+ ) $ }
if ($pair->[0]->[1] =~ s{ ^ (?<type> [^:]+ ) : \s* (?<target> .+ ) $ }
{$+{target}}x)
{
given($+{type}) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment