mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
Properly show/hide star for logged in admins in list admins
This commit is contained in:
parent
241c30b4f4
commit
e3eb698f27
@ -321,7 +321,7 @@ sub list {
|
||||
}
|
||||
foreach my $hostmask (sort keys %{ $self->{pbot}->{admins}->{admins}->hash->{$channel} }) {
|
||||
$text .= $sep;
|
||||
$text .= "*" if exists $self->{pbot}->{admins}->{admins}->hash->{$channel}->{$hostmask}->{loggedin};
|
||||
$text .= "*" if $self->{pbot}->{admins}->{admins}->hash->{$channel}->{$hostmask}->{loggedin};
|
||||
$text .= $self->{pbot}->{admins}->{admins}->hash->{$channel}->{$hostmask}->{name} . " (" . $self->{pbot}->{admins}->{admins}->hash->{$channel}->{$hostmask}->{level} . ")";
|
||||
$sep = "; ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user