3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00

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

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 {