Factoids: fix log_factoid() in add_factoid()

This commit is contained in:
Pragmatic Software 2021-07-25 19:07:03 -07:00
parent 70e82a14d3
commit 2d417e2368
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ sub add_factoid {
}
$self->{storage}->add($channel, $trigger, $data, $dont_save);
$self->{commands}->log_factoid($channel, $trigger, $owner, "created: $action") unless $dont_save;
$self->{pbot}->{commands}->{modules}->{Factoids}->log_factoid($channel, $trigger, $owner, "created: $action") unless $dont_save;
}
sub remove_factoid {