3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00

Factoids: fix spelling of cmd_factfind in interpreter()

This commit is contained in:
Pragmatic Software 2020-05-04 23:49:59 -07:00
parent c733a5253b
commit fdc8cd54d5

View File

@ -818,7 +818,8 @@ sub interpreter {
my $namespace_regex = $namespace;
if ($strictnamespace) { $namespace_regex = "(?:" . (quotemeta $namespace) . '|\\.\\*)'; }
my $matches = $self->{commands}->factfind($context->{from}, $context->{nick}, $context->{user}, $context->{host}, quotemeta($original_keyword) . " -channel $namespace_regex");
$context->{arguments} = quotemeta($original_keyword) . " -channel $namespace_regex";
my $matches = $self->{commands}->cmd_factfind($context);
# found factfind matches
if ($matches !~ m/^No factoids/) {