Don't show duplicate nicks regardless of id unless -h is used

This commit is contained in:
Pragmatic Software 2015-06-05 22:27:59 -07:00
parent f415d73827
commit 4895aa5ed8
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ sub list_also_known_as {
if (not $show_hostmasks) {
my ($nick) = $aka =~ m/([^!]+)/;
next if exists $nicks{$nick} and $nicks{$nick}->{id} == $akas{$aka}->{id};
next if exists $nicks{$nick};
$nicks{$nick}->{id} = $akas{$aka}->{id};
$result .= "$sep$nick";
} else {