3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-23 04:19:27 +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->{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 {