summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-02-25 09:21:02 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-02-25 09:21:02 +0100
commitc2cd510d601b419c73001980b8a65ebea0f70046 (patch)
tree69521ea324661c60ad79b9d0e223e9e54d42974e /lib
parent443244d966f52e84a2d2c3075dfdba3d65f43e98 (diff)
get_station: push refs one-by-one (otherwise the condition would be useless)
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm2
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;