mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 04:02:37 +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) {
|
if (not $show_hostmasks) {
|
||||||
my ($nick) = $aka =~ m/([^!]+)/;
|
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};
|
$nicks{$nick}->{id} = $akas{$aka}->{id};
|
||||||
$result .= "$sep$nick";
|
$result .= "$sep$nick";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user