mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 10:59:29 +01:00
Factoids: fix previous commit
This commit is contained in:
parent
1c52041be2
commit
133f4fa4ab
@ -745,7 +745,8 @@ sub expand_factoid_vars {
|
|||||||
|
|
||||||
$action = defined $action ? $action : $context->{action};
|
$action = defined $action ? $action : $context->{action};
|
||||||
|
|
||||||
return $action if not $self->{factoids}->get_data($context->{channel}, $context->{keyword}, 'interpolate');
|
my $interpolate = $self->{factoids}->get_data($context->{channel}, $context->{keyword}, 'interpolate');
|
||||||
|
return $action if defined $interpolate and $interpolate == 0;
|
||||||
|
|
||||||
$action = $self->expand_factoid_selectors($context, $action, %opts);
|
$action = $self->expand_factoid_selectors($context, $action, %opts);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user