mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-26 12:42:49 +01:00
Factoids: stricter search for get_meta()
This commit is contained in:
parent
6afabba183
commit
49d81072cd
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user