From d5ec26c8b31309051b4d25f403d8148d6034ceb5 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 6 Feb 2020 03:26:35 -0800 Subject: [PATCH] Interpreter: whoops --- PBot/Interpreter.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PBot/Interpreter.pm b/PBot/Interpreter.pm index 81830227..62f7c14c 100644 --- a/PBot/Interpreter.pm +++ b/PBot/Interpreter.pm @@ -920,9 +920,8 @@ sub handle_result { sub dehighlight_nicks { my ($self, $line, $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 $zwsp = "\x{200b}"; foreach my $nick (keys %{$nicklist->{$channel}}) { my $n = quotemeta $nicklist->{$channel}->{$nick}->{nick};