mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Factoids: expand_factoid_vars() now respects factoid interpolate
metadata
This commit is contained in:
parent
84d9399ceb
commit
520cce7ea8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user