diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-25 09:21:02 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-25 09:21:02 +0100 |
commit | c2cd510d601b419c73001980b8a65ebea0f70046 (patch) | |
tree | 69521ea324661c60ad79b9d0e223e9e54d42974e /lib/Travel | |
parent | 443244d966f52e84a2d2c3075dfdba3d65f43e98 (diff) |
get_station: push refs one-by-one (otherwise the condition would be useless)
Diffstat (limited to 'lib/Travel')
-rw-r--r-- | lib/Travel/Status/DE/IRIS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 8649f1b..c059411 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -554,7 +554,7 @@ sub get_station { for my $ref (@refs) { if ( none { $_ == $ref } @seen and none { $_ == $ref } @queue ) { - push( @queue, @refs ); + push( @queue, $ref ); } } $opt{root} = 0; |