3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 22:09:26 +01:00

Factoids: fix minor warning

This commit is contained in:
Pragmatic Software 2021-05-26 22:53:08 -07:00
parent 037b0796d1
commit 1c52041be2

View File

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