3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-27 05:02:34 +01:00

Factoids: expand_factoid_vars() now respects factoid interpolate metadata

This commit is contained in:
Pragmatic Software 2021-05-25 13:28:08 -07:00
parent 84d9399ceb
commit 520cce7ea8

View File

@ -745,6 +745,8 @@ sub expand_factoid_vars {
$action = defined $action ? $action : $context->{action};
return $action if $self->{factoids}->get_data($context->{channel}, $context->{keyword}, 'interpolate') eq '0';
$action = $self->expand_factoid_selectors($context, $action, %opts);
my $depth = 0;