3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 13:59:47 +01:00

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

View File

@ -129,7 +129,7 @@ sub add_factoid {
} }
$self->{storage}->add($channel, $trigger, $data, $dont_save); $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 { sub remove_factoid {