From 49d81072cd9ec9501034378188001793c628d552 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 29 Sep 2020 19:27:04 -0700 Subject: [PATCH] Factoids: stricter search for get_meta() --- PBot/Factoids.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index 9529ffed..6234005f 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -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); }