summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-01-10 12:22:39 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-01-10 12:22:39 +0100
commita7491a345f71b7805d2141424e505408e46e1297 (patch)
treee400ed2be1f42ce8846a13f9c8844bfe010d9d03 /lib
parent2c41eecea9d7d5ae563e0390514336e95b7c0c0a (diff)
IRIS.pm: Fix typo introduced in 2c41eecea9d7d5ae563e0390514336e95b7c0c0a
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 1e39377..203c9bf 100644
--- a/lib/Travel/Status/DE/IRIS.pm
+++ b/lib/Travel/Status/DE/IRIS.pm
@@ -49,7 +49,7 @@ sub new {
$self->{nodes}{station} = ( $xml_st->findnodes('//station') )[0];
- if ( not $self->{node}->{station} ) {
+ if ( not $self->{nodes}{station} ) {
$self->{errstr}
= "The station '$opt{station}' has no associated timetable";
return $self;