diff options
-rwxr-xr-x | bin/dbris-m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/dbris-m b/bin/dbris-m index 156b8a7..3096293 100755 --- a/bin/dbris-m +++ b/bin/dbris-m @@ -94,8 +94,10 @@ elsif ( $opt{station} !~ m{ ^ \d+ $ }x ) { } my $found; for my $result ( $status->results ) { - say $result->name; if ( defined $result->eva ) { + if ( lc( $result->name ) ne lc( $opt{station} ) ) { + say $result->name; + } $opt{station} = $result; $found = 1; last; |