Factoids: stricter search for get_meta()

This commit is contained in:
Pragmatic Software 2020-09-29 19:27:04 -07:00
parent 6afabba183
commit 49d81072cd
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ sub get_meta {
my ($self, $channel, $trigger, $key) = @_;
$channel = lc $channel;
$trigger = lc $trigger;
my ($chan, $trig) = $self->find_factoid($channel, $trigger, exact_channel => 1);
my ($chan, $trig) = $self->find_factoid($channel, $trigger, exact_channel => 1, exact_trigger => 1);
return undef if not defined $chan;
return $self->{factoids}->get_data($chan, $trig, $key);
}