mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
Factoids: find_factoid no longer cares about built-in commands
This commit is contained in:
parent
437ad88248
commit
3a5224ef26
@ -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}) {
|
||||
|
Loading…
Reference in New Issue
Block a user