From 0fd81482d788000bb435dbc07cf21e9cb23c6ad4 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 30 Aug 2017 18:03:10 -0700 Subject: [PATCH] Follow factoid aliases when checking for use_output_queue --- PBot/Interpreter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Interpreter.pm b/PBot/Interpreter.pm index aade7a24..e86b6677 100644 --- a/PBot/Interpreter.pm +++ b/PBot/Interpreter.pm @@ -278,7 +278,7 @@ sub handle_result { if (defined $command) { my ($cmd, $args) = split / /, $command, 2; if (not $self->{pbot}->{commands}->exists($cmd)) { - my ($chan, $trigger) = $self->{pbot}->{factoids}->find_factoid($from, $cmd, $args, 1); + my ($chan, $trigger) = $self->{pbot}->{factoids}->find_factoid($from, $cmd, $args, 1, 0, 1); if(defined $trigger) { if ($preserve_whitespace == 0) { $preserve_whitespace = $self->{pbot}->{factoids}->{factoids}->hash->{$chan}->{$trigger}->{preserve_whitespace};