From 3a5224ef2659762c2abac29e157775ad10465b76 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 19 Jan 2020 20:17:22 -0800 Subject: [PATCH] Factoids: find_factoid no longer cares about built-in commands --- PBot/Factoids.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index ed5633a5..a67e88f4 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -302,7 +302,6 @@ sub find_factoid { for (my $depth = 0; $depth < 5; $depth++) { my $string = $keyword . (length $arguments ? " $arguments" : ""); $self->{pbot}->{logger}->log("string: $string\n") if $debug; - return undef if $self->{pbot}->{commands}->exists($keyword); # check factoids foreach my $channel (sort keys %{ $self->{factoids}->{hash} }) { if ($opts{exact_channel}) {