Loading lib/Travel/Status/DE/HAFAS.pm +6 −0 Original line number Diff line number Diff line Loading @@ -376,6 +376,9 @@ sub mot_mask { if ( exists $mot_pos{$mot} ) { $mot_mask |= 1 << $mot_pos{$mot}; } elsif ( $mot =~ m{ ^ \d+ $ }x ) { $mot_mask |= 1 << $mot; } } } Loading @@ -384,6 +387,9 @@ sub mot_mask { if ( exists $mot_pos{$mot} ) { $mot_mask &= ~( 1 << $mot_pos{$mot} ); } elsif ( $mot =~ m{ ^ \d+ $ }x ) { $mot_mask &= ~( 1 << $mot ); } } } Loading Loading
lib/Travel/Status/DE/HAFAS.pm +6 −0 Original line number Diff line number Diff line Loading @@ -376,6 +376,9 @@ sub mot_mask { if ( exists $mot_pos{$mot} ) { $mot_mask |= 1 << $mot_pos{$mot}; } elsif ( $mot =~ m{ ^ \d+ $ }x ) { $mot_mask |= 1 << $mot; } } } Loading @@ -384,6 +387,9 @@ sub mot_mask { if ( exists $mot_pos{$mot} ) { $mot_mask &= ~( 1 << $mot_pos{$mot} ); } elsif ( $mot =~ m{ ^ \d+ $ }x ) { $mot_mask &= ~( 1 << $mot ); } } } Loading