From fdc8cd54d559f7b9070fd934d584387cef3e668d Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 4 May 2020 23:49:59 -0700 Subject: [PATCH] Factoids: fix spelling of cmd_factfind in interpreter() --- PBot/Factoids.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index 2e528c8d..4ff38aae 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -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/) {