mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
Don't show duplicate nicks regardless of id unless -h is used
This commit is contained in:
parent
f415d73827
commit
4895aa5ed8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user