mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-02 08:59:26 +01:00
Interpreter: whoops
This commit is contained in:
parent
405cceb77f
commit
d5ec26c8b3
@ -920,9 +920,8 @@ sub handle_result {
|
|||||||
sub dehighlight_nicks {
|
sub dehighlight_nicks {
|
||||||
my ($self, $line, $channel) = @_;
|
my ($self, $line, $channel) = @_;
|
||||||
$channel = lc $channel;
|
$channel = lc $channel;
|
||||||
return if not exists $self->{pbot}->{nicklist}->{nicklist}->{$channel};
|
return $line if not exists $self->{pbot}->{nicklist}->{nicklist}->{$channel};
|
||||||
my $nicklist = $self->{pbot}->{nicklist}->{nicklist};
|
my $nicklist = $self->{pbot}->{nicklist}->{nicklist};
|
||||||
|
|
||||||
my $zwsp = "\x{200b}";
|
my $zwsp = "\x{200b}";
|
||||||
foreach my $nick (keys %{$nicklist->{$channel}}) {
|
foreach my $nick (keys %{$nicklist->{$channel}}) {
|
||||||
my $n = quotemeta $nicklist->{$channel}->{$nick}->{nick};
|
my $n = quotemeta $nicklist->{$channel}->{$nick}->{nick};
|
||||||
|
Loading…
Reference in New Issue
Block a user