Factoids: find_factoid no longer cares about built-in commands

This commit is contained in:
Pragmatic Software 2020-01-19 20:17:22 -08:00
parent 437ad88248
commit 3a5224ef26
1 changed files with 0 additions and 1 deletions

View File

@ -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}) {