summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/efa7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index df945d6..d28f32c 100755
--- a/bin/efa
+++ b/bin/efa
@@ -152,7 +152,12 @@ sub display_connection {
}
for my $notice ( $c->current_info ) {
- printf( "# %s - %s\n", $notice->{subtitle}, $notice->{subject} );
+ if ( $notice->{subtitle} ne $notice->{subject} ) {
+ printf( "# %s - %s\n", $notice->{subtitle}, $notice->{subject} );
+ }
+ else {
+ printf( "# %s\n", $notice->{subtitle} );
+ }
}
if ( $opt->{maps} ) {