mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-12 04:52:37 +01:00
Follow factoid aliases when checking for use_output_queue
This commit is contained in:
parent
08b28cf6c2
commit
0fd81482d7
@ -278,7 +278,7 @@ sub handle_result {
|
|||||||
if (defined $command) {
|
if (defined $command) {
|
||||||
my ($cmd, $args) = split / /, $command, 2;
|
my ($cmd, $args) = split / /, $command, 2;
|
||||||
if (not $self->{pbot}->{commands}->exists($cmd)) {
|
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(defined $trigger) {
|
||||||
if ($preserve_whitespace == 0) {
|
if ($preserve_whitespace == 0) {
|
||||||
$preserve_whitespace = $self->{pbot}->{factoids}->{factoids}->hash->{$chan}->{$trigger}->{preserve_whitespace};
|
$preserve_whitespace = $self->{pbot}->{factoids}->{factoids}->hash->{$chan}->{$trigger}->{preserve_whitespace};
|
||||||
|
Loading…
Reference in New Issue
Block a user