mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 11:12:42 +01:00
Factoids: fix log_factoid() in add_factoid()
This commit is contained in:
parent
70e82a14d3
commit
2d417e2368
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user